2017 © Pedro Peláez
 

yii2-extension yii2-gii

My useful extension of yii2-gii official module

image

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

The README.md

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"

Configure

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 ] ], ], ]; }

The Versions

21/02 2018

dev-master

9999999-dev

My useful extension of yii2-gii official module

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

21/02 2018

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

01/09 2017

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