2017 © Pedro Peláez
 

yii2-extension yii2-gii-custom

Collection of custom generators for Gii.

image

herroffizier/yii2-gii-custom

Collection of custom generators for Gii.

  • Tuesday, March 29, 2016
  • by herroffizier
  • Repository
  • 1 Watchers
  • 0 Stars
  • 381 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Gii Custom

Gii custom is a small collection of generators for personal use. This package should not be considered as stable!, (*1)

Installation

Install collection via Composer:, (*2)

composer require "herroffizier/yii2-gii-custom:@stable"

Extend your Gii config:, (*3)

[
    'class' => 'yii\gii\Module',
    // ...
    'generators' => [
        // Add generators:
        'baseModel' => [
            'class' => 'herroffizier\gii\model\Generator',
        ],
        'simplifiedCrud' => [
            'class' => 'herroffizier\gii\crud\Generator',
        ],
    ],
]

Generators

Base + User Model Generator

Generator creates base and user models for specified table. Base model should be never touched so it can be easily regenerated when needed (for example, when new relations added). User model is a place for your code. It extends from base model and contains no autogenerated code., (*4)

Simplified CRUD Generator

Based on default CRUD generator Simplified CRUD Generator skips view and search pages. Also it includes some minor changes in code like merging behaviors with parent., (*5)

The Versions

29/03 2016

dev-develop

dev-develop

Collection of custom generators for Gii.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 crud gii generator yii yii 2

29/03 2016

dev-master

9999999-dev

Collection of custom generators for Gii.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 crud gii generator yii yii 2

29/03 2016

1.0.1

1.0.1.0

Collection of custom generators for Gii.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 crud gii generator yii yii 2

29/03 2016

1.0.0

1.0.0.0

Collection of custom generators for Gii.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 crud gii generator yii yii 2