/AS-Router

Simple PHP Router class (supports REST and reverse routing)

Primary LanguagePHPOtherNOASSERTION

AS Router class

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.

Info

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).

Usage

See examples/main.php for usage

More Information

There is more information about the functions are capabilites in the documentation included with the code (phpdoc).

License

MIT Licensed, http://www.opensource.org/licenses/MIT

You should have gotten a copy of the license in the file LICENSE.