PHP Classes

Simple Route: Parse and build URIs from routing rules

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 942 All time: 3,804 This week: 154Up
Version Licenses PHP version Categories
simple-route 1.0GNU Free Document...4.0HTTP, PHP 5, Parsers
Description 

Author

This class can parse and build URIs from routing rules.

It can as parameter an array with the list of supported routing rules.

The class can parse given URI to extract the route parameters like the route, controller, action, etc. from the URL based on the defined rules.

It can also rebuild the URI from the parsed parameters.

Picture of Roman Krivosheev
Name: Roman Krivosheev <contact>
Classes: 2 packages by
Country: Russian Federation Russian Federation
Age: 33
All time rank: 157648 in Russian Federation Russian Federation
Week rank: 578 Up29 in Russian Federation Russian Federation Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example 1
Accessible without login Plain text file routeclass.php Class Router class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:942
This week:0
All time:3,804
This week:154Up