Skip to content

sibds/yii2-sibds-gii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SibDS generators for Yii2-Gii

SibDS generators for Yii2-Gii

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist sibds/yii2-sibds-gii "*"

or add

"sibds/yii2-sibds-gii": "*"

to the require section of your composer.json file.

Usage

Simply use it in your code by :

$config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [
            'SModel' => [
                'class' => 'sibds\gii\model\Generator',
            ],
            'SModule' => [
                'class' => 'sibds\gii\module\Generator',
            ],
            'SCrud' => [
                'class' => 'sibds\gii\crud\Generator',
            ],
        ],
    ];

About

SibDS generators for Yii2-Gii

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages