yii2-enhanced-gii Gii that generates related Models & CRUD

yii2-enhanced-gii

  1. Installation
  2. Usage :
  3. Model :
  4. CRUD :

Yii2 Gii (generator) with Relation

This page is no longer active

Go to this page instead : https://github.com/mootensai/yii2-enhanced-gii

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"mootensai/yii2-enhanced-gii": "*"

to the require section of your composer.json file.

Then you must add this code at your config\main.php.

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

Usage :

Go to your gii module, and notice the new IO Generator for models & CRUD

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
  2. One-page-CRUD
  3. Generate migrations for tables (like https://github.com/mdmsoft/yii2-gii)

I'm open for any improvement

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
2 0
12 followers
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Developed by: moo.tensai
Created on: Jul 9, 2015
Last updated: 7 years ago

Related Extensions