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

ActiveYii2-extension

m1roff/yii2-gii
===============

My useful extension of yii2-gii official module

2.0.1(3y ago)022BSD-3-ClausePHP

Since Sep 1Pushed 3y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

yii2-gii
========

[](#yii2-gii)

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

[](#installation)

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

Either run

```
composer require --dev m1roff/yii2-gii "^2.0"
```

Configure
---------

[](#configure)

add this lines to main-local.php config

```
if (!YII_ENV_TEST) {
    ...

    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'allowedIPs' => ['*'],
        'generators' => [ //here
            'model' => [ // generator name
                'class' => 'm1roff\gii\generators\model\Generator', // generator class
                'templates' => [ //setting for out templates
                    'myModel' => '@m1roff/gii/generators/model/default', // template name => path to template
                ]
            ],
            'crud' => [ // generator name
                'class' => 'm1roff\gii\generators\crud\Generator', // generator class
                'templates' => [ //setting for out templates
                    'myCrud' => '@m1roff/gii/generators/crud/default', // template name => path to template
                ]
            ],
        ],
    ];
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~366 days

Recently: every ~415 days

Total

6

Last Release

1342d ago

Major Versions

1.2.1 → 2.0.02022-09-08

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

code generatoryii2gii

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/m1roff-yii2-gii/health.svg)](https://phpackages.com/packages/m1roff-yii2-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)
