Skip to content

vals2004/yii2-gii-extended

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended CRUD & Enumerable Generator

This generator generates enumerable classes or controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii2mod/yii2-gii-extended "*"

or add

"yii2mod/yii2-gii-extended": "*"

to the require section of your composer.json.

To use this extension, add to main config in gii section following code:

    'gii' => [
            ...
            'generators' => [
                'enumerable' => [
                    'class' => 'yii2mod\gii\enum\Generator',
                ],
                'crud' => [
                    'class' => 'yii2mod\gii\crud\Generator',
                ],
            ],
        ],

About

This generator generates enumerable classes or controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%