A simple Rails inspired PHP router class.
- Usage of different HTTP Methods
- REST / Resourceful routing
- Reversed routing
- Dynamic URL's: use URL segments as parameters.
AS Router is a fork of the PHP Router class by Danny van Kooten.
It was incorporated in AfroSoft's custom website framework and modified to fit our needs. We are releasing it back under the same license (MIT).
See examples/main.php for usage
There is more information about the functions are capabilites in the documentation included with the code (phpdoc).
MIT Licensed, http://www.opensource.org/licenses/MIT
You should have gotten a copy of the license in the file LICENSE.