2017 © Pedro Peláez
 

yii2-extension yii2-generators

image

abcms/yii2-generators

  • Friday, October 21, 2016
  • by abcms
  • Repository
  • 1 Watchers
  • 0 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 11 % Grown

The README.md

Yii2 ABCMS Generators

Installation

composer require abcms/yii2-generators

Configuration

Add generators to your config file inside config $config['modules']['gii'] array., (*1)

Replace $config['modules']['gii'] = 'yii\gii\Module'; with the following:, (*2)

$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [
        'abcms-crud' => [
            'class' => 'abcms\generators\crud\Generator',
            'templates' => [
                'default' => '@vendor/abcms/yii2-generators/crud/default',
            ]
        ],
        'abcms-model' => [
            'class' => 'abcms\generators\model\Generator',
            'templates' => [
                'default' => '@vendor/abcms/yii2-generators/model/default',
            ]
        ],
    ],
];

The Versions

21/10 2016
25/08 2016

v0.0.1

0.0.1.0

  Sources   Download

The Requires