PHP Classes

Vanilla PHP Route Class: Get the path of the script to handle HTTP request

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 129 All time: 9,287 This week: 310Up
Version License PHP version Categories
route_view_files 1.0The PHP License7HTTP, PHP 5


This is a very simple class that can get the path of the script to handle HTTP request.

It can get the URI of a HTTP request and parses it to get its path parts.

The class can return the path of a PHP script that should be loaded to handle this request.

Picture of Muddathir Samir
  Performance   Level  
Name: Muddathir Samir <contact>
Classes: 2 packages by
Country: Sudan Sudan
Age: 33
All time rank: 29241 in Sudan Sudan
Week rank: 483 Up1 in Sudan Sudan Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file example Class example for route class
Plain text file router.php Class router

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,287
This week:310Up