Skip to content

Simple PHP Router class (supports REST and reverse routing)

License

Notifications You must be signed in to change notification settings

dokudoki/AS-Router

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple PHP Router class (supports REST and reverse routing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published