2017 © Pedro Peláez
 

yii2-extension yii2-gii

Yii2 custom generator for gii

image

mdmsoft/yii2-gii

Yii2 custom generator for gii

  • Sunday, May 10, 2015
  • by mdmunir
  • Repository
  • 6 Watchers
  • 11 Stars
  • 6,365 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 17 Forks
  • 0 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

yii2-generators

Yii2 custom generator, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require mdmsoft/yii2-gii "~1.0"

or add, (*4)

"mdmsoft/yii2-gii": "~1.0"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply modify your application configuration as follows:, (*6)

...
if (!YII_ENV_TEST) {
//     configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';

    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [
            'crud' => ['class' => 'mdm\gii\generators\crud\Generator'],
            'mvc' => ['class' => 'mdm\gii\generators\mvc\Generator'],
            'migration' => ['class' => 'mdm\gii\generators\migration\Generator'],
        ]
    ];
}

The Versions

10/05 2015

dev-master

9999999-dev

Yii2 custom generator for gii

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 gii

01/04 2015

1.1.0

1.1.0.0

Yii2 custom generator for gii

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 gii

02/11 2014

1.0.0

1.0.0.0

Yii2 custom generator for gii

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 gii