Registry / web-framework / bramus-router

bramus-router

JSON →
library1.6.1phppackagistunverified

A lightweight and simple object oriented PHP Router

composer require bramus/router
INSTALL
IMPORT
SIG · BRAMUS-ROUTER
B
bramus-router
web-frameworkphpv1.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Router
use Bramus\Router\Router;

Define a simple GET route and run the router

use Bramus\Router\Router; $router = new Router(); $router->get('/', function() { echo 'Hello World'; }); $router->run();
Debug
Known issues
gotchaNo built-in middleware support
fix
Use before/after callbacks or wrap routes manually
affects: <=1.6.1
Upgrade
Version history
1.6.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
bramus-router — pip install bramus-router · libregistry