sibds/yii2-sibds-gii

SibDS generators for Yii2-Gii

Installs: 412

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

v0.4 2021-12-21 14:19 UTC

This package is auto-updated.

Last update: 2024-11-03 08:18:28 UTC


README

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',
            ],
        ],
    ];