2017 © Pedro Peláez
 

yii2-extension gii2-modulegen

Module generation extension for Gii2

image

mithun12000/gii2-modulegen

Module generation extension for Gii2

  • Friday, February 9, 2018
  • by mithun12000
  • Repository
  • 1 Watchers
  • 0 Stars
  • 58 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

gii2-modulegen

Module generation extension for Gii2, (*1)

By using this extension, you can generate pre-build module., (*2)

Installation

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

Either run, (*4)

$ php composer.phar require mithun12000/gii2-modulegen "*"

or add, (*5)

"mithun12000/gii2-modulegen": "*"

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

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

The Versions

09/02 2018

dev-master

9999999-dev

Module generation extension for Gii2

  Sources   Download

MIT

The Requires

 

yii2 gii generator module