dev-master
9999999-devAdvanced routing on top of FastRoute
The Requires
- php >=5.3.0
- nikic/fast-route 0.4.
Wallogit.com
2017 © Pedro Peláez
Advanced routing on top of FastRoute
ReRoute is a router allowing you to tie different actions to corresponding URL's, it's built over and complements the fantastic FastRoute - a blazing fast router. What differs ReRoute from others is the clean structure of your route definitions as well as some other features (see below)., (*1)
Setting up ReRoute is a piece of cake, see docs below as well as the example application., (*2)
Really early alpha - unstable, unsecure, just as the one you'd like to use, have fun!, (*3)
/user/{userId:numeric}/profile or /user/{username:alpha}
alpha instead of [a-zA-Z]+.numeric instead of [0-9]+.alphanumeric instead of [a-zA-Z0-9]+.any instead of [a-zA-Z0-9$-_.+!*\'(),]+.See example.php, (*4)
Advanced routing on top of FastRoute