Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Yampee Routing: a PHP library to dispatch requests to actions

What is Yampee Routing ?

Yampee Routing is a PHP library that dispatch a request URL to an action. Using Yampee Routing, you are able to create a powerful routing system very quickly.

An example ?

<?php$router = newYampee_Routing_Router();
$router->addRoute(newYampee_Routing_Route(
'list', '/{page}/{id}/{slug}', 'actionName',
array(), array('page' => '\d+', 'id' => '\d+', 'slug' => '.+')
));
$currentRoute = $router->find('/1/1258/article-slug');
$currentAction = $currentRoute->getAction();

Documentation

The documentation is to be found in the doc/ directory.

About

Yampee Routing is licensed under the MIT license (see LICENSE file). The Yampee Routing library is developed and maintained by the Titouan Galopin.

About

A PHP 5.2 complete Routing component

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages