PHPackages                             pcrt/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pcrt/yii2-gii

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pcrt/yii2-gii
=============

Alternative Gii generator for Yii2 framework

1.0.9(5y ago)0773↓62.5%BSD-3-ClausePHPPHP &gt;=7.0

Since Jan 29Pushed 5y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (5)Versions (9)Used By (0)

Yii2-gii
========

[](#yii2-gii)

Additional Gii code generator .

This extension add code generator to Yii2 framework Gii extension.

\##Installation

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

Either run

```
$ php composer.phar require pcrt/yii2-gii "*"

```

or add

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

```

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

Usage
-----

[](#usage)

Once the extension is installed, modify your application configuration to include:

```
  $config['modules']['gii'] = [
      'class' => 'yii\gii\Module',
      ....
      'generators' => [ // HERE
          'pcrtmodel' => [
              'class' => 'pcrt\generators\model\Generator',
              'templates' => [
                  'pcrt' => '@vendor/pcrt/yii2-gii/generators/model/pcrt',
              ]
          ],
          'pcrtcrud' => [
              'class' => 'pcrt\generators\crud\Generator',
              'templates' => [
                  'pcrt' => '@vendor/pcrt/yii2-gii/generators/crud/pcrt',
              ]
          ]
      ],
      ....
      // uncomment the following to add your IP if you are not connecting from localhost.
      // 'allowedIPs' => ['127.0.0.1', '::1'],
  ];
```

License
-------

[](#license)

Yii2-gii is released under the BSD-3 License. See the bundled `LICENSE.md` for details.

Enjoy!

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% 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

Every ~71 days

Recently: every ~116 days

Total

8

Last Release

2169d ago

Major Versions

0.9.0 → 1.0.32019-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6ad6343f484e9e2ee1c530ec7c4067ad974f540cff580dce786b8953f3fdd1?d=identicon)[protocolli](/maintainers/protocolli)

---

Top Contributors

[![fr00ller](https://avatars.githubusercontent.com/u/722758?v=4)](https://github.com/fr00ller "fr00ller (34 commits)")[![pcrt](https://avatars.githubusercontent.com/u/44270932?v=4)](https://github.com/pcrt "pcrt (7 commits)")

---

Tags

helperyii2themeassetsgii

### Embed Badge

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

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

PHPackages © 2026

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