delboy1978uk / router
Fast routing and dispatch component including PSR-15 middleware, fork of league/route
Installs: 1 214
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- nikic/fast-route: ^1.0
- psr/container: ^1.0|^2.0
- psr/http-factory: ^1.0|^2.0
- psr/http-message: ^1.0|^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.3
Replaces
- league/route: ~1.0
README
This package is compliant with PSR-1, PSR-2, PSR-4, PSR-7, PSR-11 and PSR-15. If you notice compliance oversights, please send a patch via pull request.
Install
Via Composer
$ composer require delboy1978uk/router
Requirements
The following versions of PHP are supported by this version.
- PHP 8.2
- PHP 8.3
Documentation
Route has full documentation, powered by Jekyll.
Contribute to this documentation in the gh-pages branch.
Testing
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
- Phil Bennett
- Nikita Popov (FastRoute)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.