Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yii2mod/yii2-gii-extended

This generator generates enumerable classes or controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.
https://github.com/yii2mod/yii2-gii-extended

yii2

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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.

[![Latest Stable Version](https://poser.pugx.org/yii2mod/yii2-gii-extended/v/stable)](https://packagist.org/packages/yii2mod/yii2-gii-extended) [![Total Downloads](https://poser.pugx.org/yii2mod/yii2-gii-extended/downloads)](https://packagist.org/packages/yii2mod/yii2-gii-extended) [![License](https://poser.pugx.org/yii2mod/yii2-gii-extended/license)](https://packagist.org/packages/yii2mod/yii2-gii-extended)

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

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

or add

```json
"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:

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