PHP5.3+ Routing Class. Supports REST, dynamic and reversed routing.
View the Project on GitHub dannyvankooten/AltoRouter
Download ZIP View on GitHubTo install using Composer, you will have to install Composer first.
Create a composer.json file in your project root.
Tell Composer to install the required dependencies.
If you want to use the autoloading provided by Composer, add the following line to your application file.
You are now ready to use the AltoRouter
class. Rewrite all requests to your application file and start mapping your routes.
Just download the AltoRouter class and require it in your application file.