Simple Router for methods GET and POST.
This class handle all requests coming from Verbs GET and POST
$ not yet published<?php
require __DIR__.'/src/Route/SyRoute.php';
$route = new Simply\Route\SyRoute;
## Use without params
$route->addRoute('/','App\Controller\ExampleController@index');
## Use params type Strings
$route->addRoute('/post/(\w+)','App\Controller\HomeController@home');
## Use params type Integer
$route->addRoute('/post/(\d+)','App\Controller\HomeController@home');
$route->dispath(); // Run all requests from the URI
MIT Licensed, http://www.opensource.org/licenses/MIT