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 Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 132 All time: 9,326 This week: 673Up
Version License PHP version Categories
route_view_files 1.0The PHP License7HTTP, PHP 5
Description 

Author

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: 34
All time rank: 29161 in Sudan Sudan
Week rank: 170 Up1 in Sudan Sudan Equal
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:132
This week:0
All time:9,326
This week:673Up