Easy PHP Router Class: Handle requests with controllers for given routes

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 120 All time: 9,163 This week: 308Up
Version License PHP version Categories
easy-router 1.0.0MIT/X Consortium ...5HTTP, PHP 5, Language, Design Patterns
Description Author

This package can handle requests with controllers for given routes.

It can register the patterns of HTTP request URIs that when matched will call a given controller class.

The package can take the current request URI and will call the registered controller class for the respective URI pattern that is matched.

Picture of Laudir Bispo
  Performance   Level  
Name: Laudir Bispo <contact>
Classes: 7 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageExceptions (5 files)
  Plain text file EasyRouter.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Plain text file ControllerDoesNotExists.php Class Class source
  Plain text file InvalidRoute.php Class Class source
  Plain text file MethodDoesNotExists.php Class Class source
  Plain text file RouteNotFound.php Class Class source
  Plain text file RouterException.php Class Class source

Downloadeasy-router-2019-02-26.zip 5KB
Downloadeasy-router-2019-02-26.tar.gz 2KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Get PHP Class Name Download .zip .tar.gz get controller name and namespace Required
 Version Control Unique User Downloads Download Rankings  
 100%
Total:120
This week:0
All time:9,163
This week:308Up

For more information send a message to info at phpclasses dot org.