2017 © Pedro Peláez
 

yii2-extension yii2-gii

The Gii extension for the Yii framework

image

lav45/yii2-gii

The Gii extension for the Yii framework

  • Friday, November 13, 2015
  • by LAV45
  • Repository
  • 1 Watchers
  • 0 Stars
  • 162 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 95 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

, (*1)

Gii Extension for Yii 2


This extension provides a Web-based code generator, called Gii, for Yii framework 2.0 applications. You can use Gii to quickly generate models, forms, modules, CRUD, etc., (*2)

For license information check the LICENSE-file., (*3)

Documentation is at docs/guide/README.md., (*4)

Latest Stable Version Total Downloads Build Status, (*5)

Installation

The preferred way to install this extension is through composer., (*6)

Either run, (*7)

php composer.phar require --dev --prefer-dist yiisoft/yii2-gii

or add, (*8)

"yiisoft/yii2-gii": "~2.1.0"

to the require-dev section of your composer.json file., (*9)

Usage

Once the extension is installed, simply modify your application configuration as follows:, (*10)

return [
    'bootstrap' => ['gii'],
    'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
        ],
        // ...
    ],
    // ...
];

You can then access Gii through the following URL:, (*11)

http://localhost/path/to/index.php?r=gii

or if you have enabled pretty URLs, you may use the following URL:, (*12)

http://localhost/path/to/index.php/gii

Using the same configuration for your console application, you will also be able to access Gii via command line as follows,, (*13)

# change path to your application's base path
cd path/to/AppBasePath

# show help information about Gii
yii help gii

# show help information about the model generator in Gii
yii help gii/model

# generate City model from city table
yii gii/model --tableName=city --modelClass=City

The Versions

13/11 2015

dev-self

dev-self

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

yii2 gii code generator

03/11 2015

dev-master

9999999-dev

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

01/03 2015

2.0.3

2.0.3.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

11/01 2015

2.0.2

2.0.2.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

07/12 2014

2.0.1

2.0.1.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

12/10 2014

2.0.0

2.0.0.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

28/09 2014

2.0.0-rc

2.0.0.0-RC

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

13/04 2014

2.0.0-beta

2.0.0.0-beta

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

01/12 2013

2.0.0-alpha

2.0.0.0-alpha

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

gii yii code generator