2017 © Pedro Peláez
 

yii2-extension gii-templates

yii2 gii templates

image

yujin1st/gii-templates

yii2 gii templates

  • Friday, June 16, 2017
  • by yujin1st
  • Repository
  • 2 Watchers
  • 0 Stars
  • 117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 19 % Grown

The README.md

Templates for yii2-gii

Core template extends basic gii template for a few things: * Added scenarios and behavior methods to model * Commented sections in model * AccessController added to controller * Alert messages added to controller * Cancel button added to form, (*1)

Install

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

Either run, (*3)

$ php composer.phar require  yujin1st/gii-templates "@dev"

or add, (*4)

"yujin1st/gii-templates": "@dev"

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

Usage

Setup templates to gii configuration, (*6)

 $config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [ 
      'crud' => [
        'class' => 'yii\gii\generators\crud\Generator',
        'templates' => [
          'core' => '@yujin1st/gii/core/crud',
        ]
      ],
      'model' => [
        'class' => 'yii\gii\generators\model\Generator',
        'templates' => [
          'core' => '@yujin1st/gii/core/model',
        ]
      ]
    ],
  ];

The Versions

16/06 2017

dev-master

9999999-dev https://github.com/yujin1st/gii-templates

yii2 gii templates

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 gii

16/06 2017

1.2

1.2.0.0 https://github.com/yujin1st/gii-templates

yii2 gii templates

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 gii

16/06 2017

1.1

1.1.0.0 https://github.com/yujin1st/gii-templates

yii2 gii templates

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 gii

15/06 2016

1.0

1.0.0.0 https://github.com/yujin1st/gii-templates

yii2 gii templates

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 gii