mithun12000 / gii2-modulegen
Module generation extension for Gii2
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- mithun12000/adminui: dev-master
- mithun12000/yii2-urlasset: dev-master
This package is not auto-updated.
Last update: 2024-11-05 17:12:35 UTC
README
Module generation extension for Gii2
By using this extension, you can generate pre-build module.
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require mithun12000/gii2-modulegen "*"
or add
"mithun12000/gii2-modulegen": "*"
to the require
section of your composer.json
file.
Usage
//if your gii modules configuration looks like below: $config['modules']['gii'] = 'yii\gii\Module'; //change it to $config['modules']['gii']['class'] = 'yii\gii\Module';
//Add this into backend/config/main-local.php $config['modules']['gii']['generators'] = [ 'modelgen' => ['class' => 'mithun\modulegen\module\Generator'] ];