rgl / yii2-gii-api
Generator api rest for Yii 2
Installs: 2 087
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
Requires (Dev)
- yiisoft/yii2-gii: ~2.2.0
README
Generator api rest for Yii 2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist rgl/yii2-gii-api "*"
or add
"rgl/yii2-gii-api": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
$config['modules']['gii'] = [ 'class' => 'yii\gii\Module', 'as GiiBehaviors' => \rgl\gii\GiiBehaviors::class, ];