ignatenkovnikita/yii2-gii-addons

Yii2 gii addons, template

Installs: 16 293

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.0 2017-09-21 08:02 UTC

This package is auto-updated.

Last update: 2024-12-20 03:33:24 UTC


README

Yii2 Gii Addons

Latest Stable Version Total Downloads Latest Unstable Version License

Install

composer require ignatenkovnikita/yii2-gii-addons:dev-master

Configuration, paste code in config

'bootstrap' => ['gii'],
    'modules' => [
        'gii' => [
            'class' => \yii\gii\Module::class,
            'allowedIPs' => ['*'],
            'generators' => [
                'model' => [
                    'class' => \yii\gii\generators\model\Generator::class,
                    'templates' => [
                        'myModel' => '@vendor/ignatenkovnikita/yii2-gii-addons/model/default',
                    ]
                ]
            ],
        ],
    ],