Download the PHP package selami/router without Composer
On this page you can find all versions of the php package selami/router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download selami/router
More information about selami/router
Files in selami/router
Download selami/router
More information about selami/router
Files in selami/router
Vendor selami
Package router
Short Description Router and Dispatcher built on top nikic/FastRoute that returns controller class name to be instantiated.
License MIT
Homepage https://github.com/selamiphp/router
Package router
Short Description Router and Dispatcher built on top nikic/FastRoute that returns controller class name to be instantiated.
License MIT
Homepage https://github.com/selamiphp/router
Please rate this library. Is it a good library?
Informations about the package router
Selami Router
Router and Dispatcher built on top of nikic/FastRoute that returns controller class name to be instantiated, desired content-type and route aliases if defined.
Installation
Install this library using composer:
Example
Get global values.
Create Selami\Router Instance.
Add routes that expect HTTP request methods. $route variable uses nikic/FastRoute's route syntax.
Get requested route info and aliases.
Now you can call your controller.
Our sample Controller class can be like:
$route value syntax when adding get, post, put etc routes.
All versions of router with dependencies
PHP Build Version
Package Version
The package selami/router contains the following files
Loading the files please wait ....