PHPackages                             dreamzml/yii2-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. dreamzml/yii2-gii

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

dreamzml/yii2-gii
=================

The Gii extension for the Yii framework

113PHP

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dreamzml/yii2-gii)[ Packagist](https://packagist.org/packages/dreamzml/yii2-gii)[ RSS](/packages/dreamzml-yii2-gii/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Gii Extension for Yii 2 base yii2-gii
=====================================

[](#gii-extension-for-yii-2-base-yii2-gii)

This extension provides a Web-based code generator, called Gii, for [Yii framework 2.0](http://www.yiiframework.com) applications. You can use Gii to quickly generate models, forms, modules, CRUD, etc.

For license information check the [LICENSE](LICENSE.md)-file.

[![Latest Stable Version](https://camo.githubusercontent.com/e94771047cfa5e5b2a8416728f5c8f76f232dfd29e595a9fec929f48f2f068db/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d6769692f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii2-gii)[![Total Downloads](https://camo.githubusercontent.com/b1b3913a3f71264808ef3b79c439b1fa593a05e78f98035b4f15beb86e3af161/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f796969322d6769692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii2-gii)[![Build Status](https://camo.githubusercontent.com/8ad7b8a94ee4b4c6263c3d2fb28f61538a4edad1e5999b0d741774a6a069c539/68747470733a2f2f7472617669732d63692e6f72672f796969736f66742f796969322d6769692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yiisoft/yii2-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 dreamzml/yii2-gii

```

or add

```
"dreamzml/yii2-gii": "*"

```

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' => 'dreamzml\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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![dreamzml](https://avatars.githubusercontent.com/u/3755355?v=4)](https://github.com/dreamzml "dreamzml (6 commits)")

### Embed Badge

![Health badge](/badges/dreamzml-yii2-gii/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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