|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 79%||Total: 535 ||All time: 5,555 This week: 105|
This class can route requests to different scripts based on URLs.
It takes an array of supported routes and checks it to see if the current request URL matches any of the routes.
The class can route the requests to the respective script defined in the routes array.
Missing routes makes the class handle the request with a not found script.
Folderbase PHP Router!
A lightweight and simple object oriented PHP Router.
Built by Afshin Akhgar- http://www.akhgar.net
Parameter Support => akhgar.net/param1/a/param2/b
Folder and file and subfolders routing
Parameter sending over url and query String Support
Custom 404 handling
Works fine in subfolders
> - This Library is under development
<i class="icon-file"></i> Demo
First of all get the lib
Include it in your php index file
Call The router go Method
$includePath = '/';
$router = new Router();
<i class="icon-file"></i> Parameter
get Parameters with Array ($parameters)
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.