Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

DeimosProject/Router

Repository files navigation

DeimosRouter

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());