2017 © Pedro Peláez
 

yii2-extension yii2-gii

The Gii extension for the Yii framework

image

shirase55/yii2-gii

The Gii extension for the Yii framework

  • Thursday, March 15, 2018
  • by shirase
  • Repository
  • 1 Watchers
  • 0 Stars
  • 568 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 160 Forks
  • 0 Open issues
  • 17 Versions
  • 2 % 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)

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

15/03 2018

dev-master

9999999-dev

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

12/07 2017

2.0.10

2.0.10.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

25/05 2017

2.0.9

2.0.9.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

15/05 2017

2.0.8

2.0.8.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

03/05 2017

2.0.7

2.0.7.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

15/03 2017

dev-travis-phpunit-6-compat

dev-travis-phpunit-6-compat

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

15/03 2017

2.0.6

2.0.6.0

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

14/03 2017

dev-yiisoft-master

dev-yiisoft-master

The Gii extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 gii code generator

28/01 2017

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

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