collectivism / router
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/collectivism/router
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2025-10-07 07:29:08 UTC
README
Installation
Add this to your composer.json
and run composer install
.
"require": { "collectivism/router" : "dev-master" }
Usage
use \Collectivism\Router; Route::get('/foo/bar', __DIR__ . '/foo/bar.php'); Route::post('/foo/bar', __DIR__ . '/foo/bar.php'); Route::get('/foo/baz', __DIR__ . '/foo/baz.php'); Router::start();