PHP Classes

PHP Router Class Package: Handle HTTP requests routing to controller classes

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-10-28 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 52 All time: 10,367 This week: 48Up
Version License PHP version Categories
php-router-class 1.0.0BSD License5HTTP, PHP 5, Design Patterns
Description Author

This package can handle HTTP requests routing to controller classes.

It provides a router class that can register the HTTP request URL patterns it can handle and the controller paths associated with each HTTP URL pattern.

There is a request class that can retrieve the HTTP request variables.

The router class can process the current request and route it to a controller class that matches the current request URL pattern.

Picture of Vitalij Mik
  Performance   Level  
Name: Vitalij Mik <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 36
All time rank: 3750204 in Germany Germany
Week rank: 563 Up20 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Plain text file IndexController.php Class Class source
Plain text file ProfileController.php Class Class source
Plain text file Request.php Class Class source
Plain text file RouteNotFoundException.php Class Class source
Plain text file Router.php Class Class source
Accessible without login Plain text file routes.php Conf. Configure the application URL patterns and controller classes

 Version Control Unique User Downloads Download Rankings  
 100%
Total:52
This week:0
All time:10,367
This week:48Up