2017 © Pedro Peláez
 

yii2-extension yii2-zii

The Gii extension for the Yii framework

image

zc/yii2-zii

The Gii extension for the Yii framework

  • Tuesday, June 5, 2018
  • by davidfang
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 33 % 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.0.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

05/06 2018

dev-dev-3.1

dev-dev-3.1

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

27/10 2017

dev-dev-3.0.1

dev-dev-3.0.1

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

23/09 2017

dev-master

9999999-dev

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

23/09 2017

dev-dev-3.0

dev-dev-3.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

30/04 2016

2.1.x-dev

2.1.9999999.9999999-dev

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

18/03 2016

2.0.5

2.0.5.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

11/05 2015

2.0.4

2.0.4.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

24/04 2015

dev-travis

dev-travis

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