wsl / gii
The Gii extension for the Yii framework
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- phpspec/php-diff: ^1.1.0
- yiisoft/yii2: ~2.0.14
Requires (Dev)
README
Gii Extension for Yii 2
生成带swagger注释
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --dev --prefer-dist wsl/wslgii
or add
"wsl/wslgii": "*"
to the require-dev section of your composer.json
file.
Usage
Once the extension is installed, simply modify your application configuration as follows:
return [ 'bootstrap' => ['gii'], 'modules' => [ 'gii' => [ 'class' => 'wsl\gii\Module', ], // ... ], // ... ];