An open API service indexing awesome lists of open source software.

https://github.com/beastbytes/router-register

Route creation from Attributes for Yii3
https://github.com/beastbytes/router-register

Last synced: 4 months ago
JSON representation

Route creation from Attributes for Yii3

Awesome Lists containing this project

README

          

# RouterRegister

RouterRegister is a Yii console command package that allows routes to be defined in the
application source files using PHP Attributes. It generates router groups and routes configuration files from the attributes.

## Installation

Install RouterRegister using [Composer](https://getcomposer.org/)

Add the following to the require-dev section of your composer.json:

```json
"beastbytes/router-register": "*",
```

or run

```PHP
php composer.phar require -dev "beastbytes/router-register:*"
```

## Documentation

Documentation is at [https://beastbytes.github.io/router-register](https://beastbytes.github.io/router-register)