2017 © Pedro Peláez
 

yii2-extension giigenerators

Codefellow's model and crud generator

image

codefellow/giigenerators

Codefellow's model and crud generator

  • Wednesday, December 27, 2017
  • by walczu
  • Repository
  • 2 Watchers
  • 0 Stars
  • 244 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

yii2-codefellow-giigenerators

New personalized GII's generators: 1. Model 2. CRUD, (*1)

Installation

To install, either run, (*2)

$ php composer.phar require codefellow/giigenerators "@dev"

or add, (*3)

"codefellow/giigenerators": "@dev"

Usage

$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [ //here
        'codefellow-model' => [ // generator name
            'class' => 'codefellow\giigenerators\model\Generator', // generator class
        ],
        'codefellow-crud' => [ // generator name
            'class' => 'codefellow\giigenerators\crud\Generator', // generator class
            'templates' => [ //setting for out templates
                't-translation' => '@vendor/codefellow/giigenerators/src/crud/t-translation', // template name => path to template
            ]
        ]
    ],
];

The Versions

27/12 2017

dev-master

9999999-dev

Codefellow's model and crud generator

  Sources   Download

Apache-2.0

The Requires

 

database template extension yii2 ajax crud gii