2017 © Pedro Peláez
 

yii2-extension yii2-enhanced-gii

Generate Relational (has many) Models & CRUD.

image

marena/yii2-enhanced-gii

Generate Relational (has many) Models & CRUD.

  • Monday, May 9, 2016
  • by marena
  • Repository
  • 1 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 67 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

yii2-enhanced-gii

Yii2 Gii (generator) with Relation, (*1)

Latest Stable Version License Total Downloads Monthly Downloads Daily Downloads Join the chat at https://gitter.im/mootensai/yii2-enhanced-gii, (*2)

Installation

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

Either run, (*4)

$ composer require mootensai/yii2-enhanced-gii:@dev

or add, (*5)

"mootensai/yii2-enhanced-gii": "@dev"

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

Then you must add this code at your config\main.php., (*7)

'modules' => [
... //your another module
      'gridview' => [
          'class' => '\kartik\grid\Module',
      ],
... // your another module
    ],

Usage :

Go to your gii tools, and notice the new IO Generator for models & CRUD, (*8)

Features

Model :

  1. Generate optimistic lock
  2. Generate Timestamp Behaviors
  3. Generate Blameable Behavior
  4. Generate UUID Behavior

CRUD :

  1. Generate all CRUD with wildcard (*) of table
  2. Generate related input output
  3. Specify your name/label attribute for foreign keys
  4. Set your column to hidden
  5. Specify your skipped columns
  6. Specify your skipped relations
  7. Set pluralize or not
  8. PDF Printable view
  9. Expandable / collapsible row at index grid view for related data

To Do

  1. Nested set detector & generator -> cancelled, move to -> https://github.com/mootensai/yii2-enhanced-gii-nested (unfinished)
  2. One-page-CRUD template
  3. Generate migrations for tables (like https://github.com/mdmsoft/yii2-gii)
  4. RESTful template

I'm open for any improvement, (*9)

Thanks To

  1. Jiwanndaru (jiwanndaru@gmail.com) for creating the tradition
  2. kartik-v (https://github.com/kartik-v) for most of widgets
  3. schmunk42 (https://github.com/schmunk42) for bootstrap & model base & extension
  4. mdmunir (https://github.com/mdmunir) for JsBlock

The Versions

05/03 2016

0.0.9

0.0.9.0

Generate Relational (has many) Models & CRUD. For nested : mootensai/yii2-enhanced-gii-nested

  Sources   Download

BSD-3-Clause

The Requires

 

by Yohanes Candrajaya
by Jiwantoro Ndaru

yii2 gii yii relation enhanced

22/02 2016

0.0.8

0.0.8.0

Generate Relational (has many) Models & CRUD. For nested : mootensai/yii2-enhanced-gii-nested

  Sources   Download

BSD-3-Clause

The Requires

 

by Yohanes Candrajaya
by Jiwantoro Ndaru

yii2 gii yii relation enhanced

17/02 2016

0.0.7

0.0.7.0

Generate Relational (has many) Models & CRUD. For nested : mootensai/yii2-enhanced-gii-nested

  Sources   Download

BSD-3-Clause

The Requires

 

by Yohanes Candrajaya
by Jiwantoro Ndaru

yii2 gii yii relation enhanced

22/08 2015

0.0.6

0.0.6.0

Generate Relational (has many) Models & CRUD. For nested : mootensai/yii2-enhanced-gii-nested

  Sources   Download

BSD-3-Clause

The Requires

 

by Yohanes Candrajaya
by Jiwantoro Ndaru

yii2 gii yii relation enhanced

28/07 2015

0.0.5

0.0.5.0

Generate Relational (has many) Models & CRUD. For nested : mootensai/yii2-enhanced-gii-nested

  Sources   Download

BSD-3-Clause

The Requires

 

by Yohanes Candrajaya
by Jiwantoro Ndaru

yii2 gii yii relation enhanced