Registry / web-framework / pecee-simple-router

pecee-simple-router

JSON →
library3.4.5phppackagistunverified

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

composer require pecee/simple-router
INSTALL
IMPORT
SIG · PECEE-SIMPLE-ROUTE
P
pecee-simple-router
web-frameworkphpv3.4.5
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.

SimpleRouter
✓ use Pecee\SimpleRouter\SimpleRouter;

Define a simple GET route and start routing

use Pecee\SimpleRouter\SimpleRouter; SimpleRouter::get('/', function() { return 'Hello World'; }); SimpleRouter::start();
Debug
Known issues
gotchaNamespace conflicts with other routers
fix
Use aliases or fully qualified names if using multiple routers
affects: >=3.0.0
Upgrade
Version history
3.4.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
pecee-simple-router — pip install pecee-simple-router · libregistry