AutoRoute
PSX Framework
AutoRoute | PSX Framework | |
---|---|---|
10 | 4 | |
190 | 168 | |
- | 3.0% | |
1.5 | 5.7 | |
about 1 year ago | 4 months ago | |
PHP | PHP | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AutoRoute
-
How do router frameworks efficiently handle 1000s of routes?
Also if you use a convention-based approach to your routes instead of hardcoding them you can support any number of routes. Something like how pmjones/AutoRoute and CodeIgniter's AutoRouting work.
-
A Faster Router System in PHP
You may wish to take a look at AutoRoute. I am the lead, and you can see benchmarks for it here.
-
PSX - Build fully typed REST APIs
This sounds remarkably similar to AutoRoute.
-
Building the Fastest PHP Router Ever
Interesting; AutoRoute is 2x faster than FastRoute in common cases; see benchmark. And it's pretty feature-filled at that.
-
Why I prefer a routing config file to Controller annotations
There is another alternative: AutoRoute automatically maps incoming HTTP requests (by verb and path) to PHP action classes in a specified namespace. No more route files or annotations/attributes.
-
Make your own Framework: (The Fastest) Router Edition
Might be nice to see AutoRoute included in the mix; it too is faster than FastRoute, and has some interesting additional features.
-
The case for route attributes
Not to yammer on about it, but that is exactly what AutoRoute does.
-
Piko router, a fast router for PHP based on radix tree
Nice! I'd be interested to see how it fares against AutoRoute -- benchmarks against FastRoute here.
-
Weekly "ask anything" thread
You might additionally appreciate this: https://github.com/pmjones/AutoRoute
PSX Framework
- Show HN: PSX – Build fully typed REST APIs
- PSX - Build fully typed REST APIs
-
Symfony Station Communique - 31 December 2021. A Look at Symfony and PHP News.
PSX: A modern set of PHP components to simplify API development https://phpsx.org/
- PSX - PHP components to simplify API development
What are some alternatives?
Fast Route - Fast request router for PHP
API Platform - Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
Laravel - The Laravel Framework.
CWH (CloudWatch Handler) - Amazon Web Services CloudWatch Logs Handler for Monolog library
php-jwt - PHP package for JWT
Symfony DataTables Bundle - DataTables bundle for Symfony
php-router-benchmark
Hateoas - A PHP library to support implementing representations for HATEOAS REST web services.
AutoRoute-benchmark - Benchmarking for AutoRoute.
Symfony GraphQl Bundle - Pure PHP implementation of GraphQL Server – Symfony Bundle
Ratchet - Asynchronous WebSocket server
OverblogGraphQLBundle - This bundle provides tools to build a complete GraphQL API server in your Symfony App.