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 (28 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 42 Not yet ranked
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
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  
 100%
Total:42
This week:0