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: 34
All time rank: 9892 in Armenia Armenia
Week rank: 110 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.2
PHP version: 5.2
License: MIT/X Consortium License
All time users: 853 users
All time rank: 3777
Week users: 13 users
Week rank: 97 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
Files folder imagedocumentation (2 files)
Files folder imagedocumentor (21 files)
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

  Files folder image Files  /  documentation  
File Role Description
  Accessible without login Plain text file index.css Data Documentation styles
  Accessible without login HTML file index.html Doc. Compiled documentation

  Files folder image Files  /  documentor  
File Role Description
  Accessible without login Plain text file advanced.php Example Documention generator files
  Accessible without login Plain text file all_methods_accepted.php Example Documention generator files
  Accessible without login Plain text file compile.php Example Documention generator files
  Accessible without login Plain text file controller_action.php Example Documention generator files
  Accessible without login Plain text file controller_only.php Example Documention generator files
  Accessible without login Plain text file documentation.php Aux. Documention generator files
  Accessible without login Plain text file example_route_setup.php Example Documention generator files
  Accessible without login Plain text file index.css Output Documention generator files
  Accessible without login Plain text file index.php Output Documention generator files
  Accessible without login Plain text file in_place_regex.php Example Documention generator files
  Accessible without login Plain text file method_not_acceptable.php Example Documention generator files
  Accessible without login Plain text file method_not_supported.php Example Documention generator files
  Accessible without login Plain text file optional_parameters.php Example Documention generator files
  Accessible without login Plain text file optional_parameters_with_defaults.php Example Documention generator files
  Accessible without login Plain text file predefined_routes.php Example Documention generator files
  Accessible without login Plain text file predefined_routes_test.php Example Documention generator files
  Accessible without login Plain text file query_string.php Example Documention generator files
  Accessible without login Plain text file slug.php Example Documention generator files
  Accessible without login Plain text file token_undefined.php Example Documention generator files
  Accessible without login Plain text file url.php Example Documention generator files
  Accessible without login Plain text file user_defined_token.php Example Documention generator files

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.