2017 © Pedro Peláez
 

yii2-extension yii2-gii-migartion

Migration Generator for Yii2

image

sankam-nikolya/yii2-gii-migartion

Migration Generator for Yii2

  • Monday, April 18, 2016
  • by sankam-nikolya
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Migration Generator

Migration Generator for Yii2, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist sankam-nikolya/yii2-gii-migartion "*"

or add, (*4)

"sankam-nikolya/yii2-gii-migartion": "*"

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

Usage

Once the extension is installed, simply use it in your code by :, (*6)

    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        ...
        'generators' => [
            'migration' => [
                'class' => '\sankam\gii\migration\generator',
                'templates' => [
                    'default' => '@vendor/sankam-nikolya/yii2-gii-migartion/default',
                    'sql' => '@vendor/sankam-nikolya/yii2-gii-migartion/sql',
                ],
            ],
        ],
        ...
    ]

The Versions

18/04 2016

dev-master

9999999-dev

Migration Generator for Yii2

  Sources   Download

MIT

The Requires

 

extension yii2 gii generator migration