Login   Register  
PHP Classes
elePHPant
Icontem

PHP URL Router Class: Match URLs with routes for controllers and actions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Mark Rolich
Name: Mark Rolich <contact>
Classes: 9 packages by
Country: Armenia Armenia
Age: 33
All time rank: 10082 in Armenia Armenia
Week rank: 219 Up2 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can match URLs with routes for controllers and actions.

It takes the definition of one or more routes with string expressions that define patterns to match given URLs.

It supports a special route pattern syntax that allows defining how to extract the name of the controller and action from the URL.

The class returns an array with the details of the matched route.

  Classes of Mark Rolich  >  PHP URL Router Class  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP URL Router Class
Base name: url-router
Description: Match URLs with routes for controllers and actions
Version: 1.0.0
PHP version: 5.2
License: MIT/X Consortium License
All time users: 775 users
All time rank: 4002
Week users: 5 users
Week rank: 352 Up
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Github
Github repo

  Files folder image Files  
File Role Description
Accessible without login HTML file documentation.html Doc. Documentation
Accessible without login Plain text file index.php Example examples
Accessible without login Plain text file mit-license.txt Lic. LICENSE
Accessible without login Plain text file README.md Data README
Plain text file Router.php Class Main class
Accessible without login Plain text file routes.php Aux. predefined routes

Install with Composer Install with Composer - Download Download all files: url-router.tar.gz url-router.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.