Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.74 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.74 KB

Yii2 DevKit

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Developer helper kit for Yii2 framework.

Features

  • Integrated IDE auto complete generator

  • Integrated Migration code generator

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiithings/yii2-devkit "*"

or add

"yiithings/yii2-devkit": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

[
    'bootstrap' => ['devkit'],
    'modules' => [
        'devkit' => [
            'class' => 'yiithings\devkit\Module',
        ],
    ],
]

Use console:

$ ./yii devkit/ide-helper
$ ./yii devkit/schema-create
$ ./yii devkit/schema-drop