inquid/yii2-enhanced-gii

Generate Relational (hasMany, hasOne, belongsTo, & nested) Models & CRUD.

Installs: 1 001

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 6

Forks: 100

Open Issues: 14

Type:yii2-extension

v1.0.0 2016-08-20 03:42 UTC

README

All things needed to create a fully functional application just to modify the business logic to fit your needs 🚀

Yii2 Buy me a Coffee

Installation

The preferred way to install this extension is through composer.

Either run

composer require inquid/yii2-enhanced-gii:dev-master

or add

"inquid/yii2-enhanced-gii": "dev-master",

to the require section of your composer.json file.

I separate the tree-manager because the package is big & not everyone will use it.

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

'modules' => [
      'gridview' => [
          'class' => '\kartik\grid\Module',
      ],
      'datecontrol' => [
          'class' => '\kartik\datecontrol\Module',
      ],
      // If you use tree table
      'treemanager' =>  [
          'class' => '\kartik\tree\Module',
      ]
    ],

See gridview settings on http://demos.krajee.com/grid#module

See datecontrol settings on http://demos.krajee.com/datecontrol#module

See treemanager settings on http://demos.krajee.com/tree-manager#module (If you use tree/nested relation table)

Usage :

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