mithun12000/gii2-modulegen Module generation extension for Gii2

modulegiigenerator

gii2-modulegen

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']
    ];

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
61 total downloads