Install AltoRouter using Composer
To 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.
Install AltoRouter manually
Just download the AltoRouter class and require it in your application file.
Rewrite requests »