beastbytes / yii-router-register
RouterRegister Writer and console command for Yii
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/beastbytes/yii-router-register
Requires
- php: ^8.2
- beastbytes/router-register: dev-master
Requires (Dev)
- phpunit/phpunit: ^10.0
- symfony/console: ^6.0
- vimeo/psalm: ^6.0
- yiisoft/dummy-provider: ^1.0
- yiisoft/files: ^2.0
- yiisoft/router: ^4.0
- yiisoft/yii-console: ^2.0
This package is auto-updated.
Last update: 2025-11-21 14:19:44 UTC
README
Yii RouterRegister
Yii RouterRegister allows generation of Yii router configuration using PHP Attributes amd Enumerations.
It provides an implementation of RouterRegister/WriterInterface to write Yii Router configuration files, and a console command to run RouterRegister.
Installation
Install RouterRegister using Composer
Add the following to the require-dev section of your composer.json:
"beastbytes/yii-router-register": "<version-constraint>",
or run
php composer.phar require -dev "beastbytes/yii-router-register:<version-constraint>"
Documentation
Documentation of this package is at https://beastbytes.github.io/yii-router-register Documentation for the RouterRegister package is at https://beastbytes.github.io/router-register