PHPackages                             yii2framework/yiiframe-gii - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yii2framework/yiiframe-gii

ActiveYii2-extension[Framework](/categories/framework)

yii2framework/yiiframe-gii
==========================

The Gii extension for the Yii framework

1.0.0(9mo ago)0228↑66.7%BSD-3-ClausePHP

Since Aug 3Pushed 9mo agoCompare

[ Source](https://github.com/yii2framework/yiiframe-gii)[ Packagist](https://packagist.org/packages/yii2framework/yiiframe-gii)[ RSS](/packages/yii2framework-yiiframe-gii/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Yii2-gii extension
==================

[](#yii2-gii-extension)

The Gii extension for the Yii framework,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.

[![Latest Stable Version](https://camo.githubusercontent.com/367b5fa311e10e2c215c59f5fec117a1c1300a56de9cc0ba168dbe71a6e8f955/687474703a2f2f706f7365722e707567782e6f72672f796969326672616d65776f726b2f7969696672616d652d6769692f76)](https://packagist.org/packages/yii2framework/yiiframe-gii) [![Total Downloads](https://camo.githubusercontent.com/9375d332198da1c0da2ab502fc7b04419dab5694f461dd32542d46a150e2ca5b/687474703a2f2f706f7365722e707567782e6f72672f796969326672616d65776f726b2f7969696672616d652d6769692f646f776e6c6f616473)](https://packagist.org/packages/yii2framework/yiiframe-gii) [![Latest Unstable Version](https://camo.githubusercontent.com/f30a7a1098b8bcc5f149022f1b295ce9d0c0b499f6130d76796f7a4f04f75945/687474703a2f2f706f7365722e707567782e6f72672f796969326672616d65776f726b2f7969696672616d652d6769692f762f756e737461626c65)](https://packagist.org/packages/yii2framework/yiiframe-gii) [![License](https://camo.githubusercontent.com/6a20ae68a2a14254982d1e8097e99dd9849f14e9e97e83570c259f978ae5f2b2/687474703a2f2f706f7365722e707567782e6f72672f796969326672616d65776f726b2f7969696672616d652d6769692f6c6963656e7365)](https://packagist.org/packages/yii2framework/yiiframe-gii) [![PHP Version Require](https://camo.githubusercontent.com/da6e43458ac0604bf9bd97cec6e611c61df3f2f152437a46217f431fed2aa7ad/687474703a2f2f706f7365722e707567782e6f72672f796969326672616d65776f726b2f7969696672616d652d6769692f726571756972652f706870)](https://packagist.org/packages/yii2framework/yiiframe-gii)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --dev --prefer-dist yii2framework/yiiframe-gii

```

or add

```
"yii2framework/yiiframe-gii": "~2.1.0"

```

to the require-dev section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration as follows:

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

You can then access Gii through the following URL:

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

```

or if you have enabled pretty URLs, you may use the following URL:

```
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,

```
# 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

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance57

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c94d4d584702ab50692474eece6c6f94db063220347f2c7f8979208e34cd7cb9?d=identicon)[yii2framework](/maintainers/yii2framework)

---

Top Contributors

[![hjp1011](https://avatars.githubusercontent.com/u/15049554?v=4)](https://github.com/hjp1011 "hjp1011 (1 commits)")

---

Tags

code generatoryii2gii

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yii2framework-yiiframe-gii/health.svg)

```
[![Health](https://phpackages.com/badges/yii2framework-yiiframe-gii/health.svg)](https://phpackages.com/packages/yii2framework-yiiframe-gii)
```

###  Alternatives

[yiisoft/yii2-gii

The Gii extension for the Yii framework

21118.4M613](/packages/yiisoft-yii2-gii)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
