PHP Classes

WayMaker PHP Get Route Parameters: Parse request route path to extract its parameters

Recommend this page to a friend!
  Info   View files Documentation   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 9 All time: 10,895 This week: 138Up
Version License PHP version Categories
waymaker 1.0GNU General Publi...5HTTP, PHP 5, Parsers
Description Author

This class can parse the request route path to extract its parameters.

It can take a string with an HTTP route specification as a parameter and parses it to extract its parameters.

Currently, it can extract the route controller name and a list of parameter names that may define the actions that a controller may execute.

Picture of Ali YILMAZ
  Performance   Level  
Name: Ali YILMAZ <contact>
Classes: 15 packages by
Country: Turkey Turkey
Age: ???
All time rank: 256942 in Turkey Turkey
Week rank: 194 Up6 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 7x


What is wayMaker ?

It is used to separate the way and parameters.


$str = 'app/controller:insert@redirect';
// $str = 'app/controller:insert';
// $str = 'app/controller';

Out-of-class use:


$m = new Mind();

When using it in the class:




    [way] => app/controller
    [params] => Array
            [0] => insert
            [1] => redirect



This package has no dependencies.


Instructions and files in this directory are shared under the GPL3 license.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file wayMaker.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,895
This week:138Up