yiisoft / router-fastroute
Yii router FastRoute adapter
Fund package maintenance!
Open Collective
yiisoft
Installs: 167 832
Dependents: 39
Suggesters: 2
Security: 0
Stars: 35
Watchers: 18
Forks: 17
Open Issues: 3
Requires
- php: ^8.0
- nikic/fast-route: ^1.3
- psr/http-message: ^1.0
- psr/simple-cache: ^2.0|^3.0
- yiisoft/http: ^1.2
- yiisoft/router: ^2.1|^3.0
Requires (Dev)
- maglnet/composer-require-checker: ^4.2
- nyholm/psr7: ^1.4
- phpunit/phpunit: ^9.5
- psr/container: ^2.0
- rector/rector: ^0.15.4
- roave/infection-static-analysis-plugin: ^1.16
- spatie/phpunit-watcher: ^1.23
- vimeo/psalm: ^4.30|^5.6
- yiisoft/di: ^1.2
Provides
This package is auto-updated.
Last update: 2023-09-18 08:00:27 UTC
README
Yii Router FastRoute adapter
The package provides FastRoute adapter for Yii Router.
Requirements
- PHP 8.0 or higher.
Installation
The package could be installed with composer:
composer require yiisoft/router-fastroute
General usage
The package is not meant to be used separately so check Yii Router readme for general usage and FastRoute for pattern syntax.
Testing
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit
Mutation testing
The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:
./vendor/bin/roave-infection-static-analysis-plugin
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
./vendor/bin/psalm
License
The Yii Router FastRoute adapter is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.