ramprasadm1986/yii2-gii-crud-gentelella

A Gentelella based CRUD template for Yii2

1.0.1 2021-11-20 06:56 UTC

This package is auto-updated.

Last update: 2024-12-20 13:28:35 UTC


README

Installation

The preferred way to install this extension is through composer.

php composer.phar require --prefer-dist ramprasadm1986/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/ramprasadm1986/yii2-gii-crud-gentelella/src/gii/templates/crud',
                ]
            ]
            ....
        ],

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