deimos/router

This package is abandoned and no longer maintained. No replacement package was suggested.

Deimos Router.

1.0.4 2017-04-17 10:01 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version License

Scrutinizer Code Quality Code Coverage Build Status

Here is a quick demo:

$helper  = new \Deimos\Helper\Helper();
$slice  = new \Deimos\Slice\Slice($helper, [
  'default' => [
    'type' => 'pattern',
    'path' => '/demo'
  ]
]);
$router = new \Deimos\Router\Router($slice);

var_dump($router->getCurrentRoute());