Version 0.1
First release!
SnappyRouter is a lightweight router written in PHP. Our primary focus is to provide a PHP router/framework that helps alleviate common pain points when working with "seasoned" PHP applications. PHP is a very tried-and-true language with lots of older applications needing ongoing maintenance. To support this goal we take a "configuration over convention" approach.
We also provide a number of different handlers to support many common PHP application configurations such as:
- Controller/Action based routes,
- Rest-like routes with API versioning,
- Pattern matching routes (based off nikic/FastRoute),
- JSON RPC 1.0/2.0,
- Direct file invocation (wrap paths to specific files through the router).
Finally we make it easy to add your own handler if your application has some custom conventions. All of our code is fully unit tested and we run the router ourselves in production environments with multiple handlers in place. The code is easy to read and fully documented and we greatly look forward to feedback from the community!
Happy routing!