PHP Classes

Cfw Router: Map URIs to controller routes based on rules

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 660 All time: 4,878 This week: 455Up
Version License PHP version Categories
cfw 1.0.0GNU General Publi...5.1HTTP, PHP 5, Tools, Design Patterns
Description 

Author

This package can map URLs to controller routes based on rules.

It allows adding supported routes with their names and the associated definition of MVC modules, controllers and actions.

The class can map and dispatch the current request URI or a given URI to the matching route module, controller and action.

Picture of Craig Smith
  Performance   Level  
Name: Craig Smith <contact>
Classes: 5 packages by
Country: New Zealand New Zealand
Age: 46
All time rank: 3373 in New Zealand New Zealand
Week rank: 49 Up1 in New Zealand New Zealand Up

  Files folder image Files (3)  
File Role Description
Files folder imageCfw (2 files)
Accessible without login Plain text file sample.php Example Sample usage of the Routing Engine

  Files folder image Files (3)  /  Cfw  
File Role Description
  Plain text file Route.php Class Holds individual route definition
  Plain text file Router.php Class Router File holds the routes defined and used to build urls

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:660
This week:0
All time:4,878
This week:455Up