SibDS generators for Yii2-Gii
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-sibds-gii "*"
or add
"sibds/yii2-sibds-gii": "*"
to the require section of your composer.json
file.
Simply use it in your code by :
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'generators' => [
'SModel' => [
'class' => 'sibds\gii\model\Generator',
],
'SModule' => [
'class' => 'sibds\gii\module\Generator',
],
'SCrud' => [
'class' => 'sibds\gii\crud\Generator',
],
],
];