|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2022-10-21 (7 months ago) || 79%||Total: 568 This week: 1||All time: 5,375 This week: 257|
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.