zgb7mtr/yii2-gii-crud-gentelella

A Gentelella based CRUD template for Yii2

1.0.0 2019-12-31 02:21 UTC

This package is auto-updated.

Last update: 2024-03-29 04:05:23 UTC


README

Installation

The preferred way to install this extension is through composer.

php composer.phar require --prefer-dist zgb7mtr/yii2-gii-crud-gentelella "*"

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

    'gii' => [
            ...
            'generators' => [ //here
            'crud' => [ // generator name
                'class' => 'yii\gii\generators\crud\Generator', // generator class
                'templates' => [ //setting for the templates
                    'Gentelella' => '@vendor/zgb7mtr/yii2-gii-crud-gentelella/src/gii/templates/crud',
                ]
            ]
            ....
        ],

Changing "Code Template" to Gentelella in Gii CRUD Generator panel.