platx/yii2-gii

This package is abandoned and no longer maintained. No replacement package was suggested.

For individual use only!

Installs: 1 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2016-02-03 08:39 UTC

This package is not auto-updated.

Last update: 2017-11-25 11:05:55 UTC


README

For individual use only!

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"platx/yii2-gii": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, add to your gii module config new generators like this :

<?php 
'modules' => [
    ...
    'gii' => [
        'class' => 'yii\gii\Module',
        'generators' => [
            'papi' => 'platx\gii\generators\api\Generator',
            'pmodel' => 'platx\gii\generators\model\Generator',
            'pcrud' => 'platx\gii\generators\crud\Generator',
        ],
    ],
    ...    
]
?>```