yii2-extension yii2-gii
My useful extension of yii2-gii official module
mirkhamidov/yii2-gii
My useful extension of yii2-gii official module
- Wednesday, February 21, 2018
- by miroff
- Repository
- 1 Watchers
- 0 Stars
- 70 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 19 % Grown
yii2-gii
Installation
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
composer require --dev m1roff/yii2-gii "^2.0"
add this lines to main-local.php config, (*3)
if (!YII_ENV_TEST) {
...
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['*'],
'generators' => [ //here
'model' => [ // generator name
'class' => 'm1roff\gii\generators\model\Generator', // generator class
'templates' => [ //setting for out templates
'myModel' => '@m1roff/gii/generators/model/default', // template name => path to template
]
],
'crud' => [ // generator name
'class' => 'm1roff\gii\generators\crud\Generator', // generator class
'templates' => [ //setting for out templates
'myCrud' => '@m1roff/gii/generators/crud/default', // template name => path to template
]
],
],
];
}
dev-master
9999999-dev
My useful extension of yii2-gii official module
Sources
Download
BSD-3-Clause
The Requires
yii2
gii
code generator
1.1
1.1.0.0
My useful extension of yii2-gii official module
Sources
Download
BSD-3-Clause
The Requires
yii2
gii
code generator
1.0
1.0.0.0
My useful extension of yii2-gii official module
Sources
Download
BSD-3-Clause
The Requires
yii2
gii
code generator