2017 © Pedro Peláez
 

library sroute

php simple route

image

jesusslim/sroute

php simple route

  • Friday, October 27, 2017
  • by jesusslim
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

sroute

simple route, (*1)

usage

$routes = new \sroute\src\Routes();
$routes->post('/test',[YourController::class,'action']);
$routes->get('/closure',function(){ echo "sroute";});
$route = $routes->match('GET','/closure');
$handler = $routes->handler('GET','/closure');

The Versions

27/10 2017

dev-master

9999999-dev

php simple route

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Avatar jesusslim

route routing

27/10 2017

1.0

1.0.0.0

php simple route

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Avatar jesusslim

route routing