crystoline / xpsr-router-fastroute
FastRoute adapter for XPSR's portable route definitions
Package info
github.com/crystoline/xpsr-router-fastroute
pkg:composer/crystoline/xpsr-router-fastroute
v0.5.0
2026-10-30 11:06 UTC
Requires
- php: ^8.4
- crystoline/xpsr-framework: ^0.5@dev
- nikic/fast-route: ^1.3
Requires (Dev)
- nyholm/psr7: ^1.8.2
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
FastRoute adapter for XPSR's portable route definitions. This is the default adapter in the crystoline/xpsr skeleton.
composer require crystoline/xpsr-router-fastroute
Select it with ROUTER_ADAPTER=fastroute, or run php xpsr setup --router=fastroute. Route files stay the same whichever adapter you choose.
The adapter passes XPSR's shared router contract suite (Crystoline\Xpsr\Testing\RouterContractTestCase):
composer install vendor/bin/phpunit