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).
Pux alternatives and related libraries
Based on the "Routers" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Pux or a related project?
Pux RecommendationsThere 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.
Recently added Pux resources
Be the first to add one!