Popularity
7.0
Growing
Activity
0.0
Stable
1,257
80
84

Description

Pux is a simple & fast PHP router.

Pux is 48.5x faster than symfony router in static route dispatching, 31x faster in regular expression dispatching. (with pux extension installed)

(Benchmark code and details here https://github.com/c9s/router-benchmark/blob/master/code)

Pux tries not to consume computation time to build all routes dynamically (like Symfony/Routing, although the RouteCompiler of Symfony/Routing caches the compiled patterns, but there are still a lot of function call and class loading from your application code. however, function calls are pretty slow in PHP).

Code Quality Rank: L2
Monthly Downloads: 441
Programming language: C
License:
Tags: Routers     HTTP     Router     Server     Middleware     Fast     Pux    

Pux alternatives and related libraries

Based on the "Routers" category

Do you think we are missing an alternative of Pux or a related project?

Add another 'Routers' Library

Pux Recommendations

There are no recommendations yet. Be the first to promote Pux!

Have you used Pux? Share your experience. Write a short recommendation and Pux, you and your project will be promoted on Awesome PHP.
Recommend Pux

Recently added Pux resources

Do you know of a useful tutorial, book or news relevant to Pux?
Be the first to add one!