Skip to content

inquid/yii2-enhanced-gii

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-enhanced-gii

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