Skip to content

cakpep/yii2-gii-easyui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yii2 EasyUi generator

Yii2 custom generator

Installation

The preferred way to install this extension is through composer.

Either run

composer require cakpep/yii2-gii-easyui "dev-master"

or add

"cakpep/yii2-gii-easyui": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

...
if (!YII_ENV_TEST) {
//     configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = 'yii\debug\Module';

    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [
            'crud' => ['class' => 'cakpep\gii\generators\crud\Generator'],
        ]
    ];
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published