PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2019-02-26 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 102 All time: 9,192 This week: 372Up
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.

  Performance   Level  
Name: Laudir Bispo <contact>
Classes: 6 packages by
Country: Brazil Brazil
Age: 26
All time rank: 2862211 in Brazil Brazil
Week rank: 113 Up2 in Brazil Brazil Up
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:102
This week:0
All time:9,192
This week:372Up