PHPackages                             claudejanz/yii2-mygii - 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. [Admin Panels](/categories/admin)
4. /
5. claudejanz/yii2-mygii

ActiveYii2-extension[Admin Panels](/categories/admin)

claudejanz/yii2-mygii
=====================

Gii Generator for double model generation

0.0.11(8y ago)622.3k↓50%3[1 issues](https://github.com/claudejanz/yii2-mygii/issues)2BSD-4-ClausePHPPHP &gt;=5.3.0

Since Nov 26Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (8)Versions (12)Used By (2)

yii2-double-model-gii
=====================

[](#yii2-double-model-gii)

[![Latest Stable Version](https://camo.githubusercontent.com/246621fd1be5788a1a1103530506b4658f532dfaf5729931e0bc38e0f49d977a/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d796769692f762f737461626c652e737667)](https://packagist.org/packages/claudejanz/yii2-mygii) [![Total Downloads](https://camo.githubusercontent.com/464ed7c8597f6e2bbf4ced6f4a8f8c25085b25c2377ecca46dd4131f1dcc2777/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d796769692f646f776e6c6f6164732e737667)](https://packagist.org/packages/claudejanz/yii2-mygii) [![Latest Unstable Version](https://camo.githubusercontent.com/c5979bdb69d46d52dcad29eaa638452082e6288b79ae385980221a188b495f46/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d796769692f762f756e737461626c652e737667)](https://packagist.org/packages/claudejanz/yii2-mygii) [![License](https://camo.githubusercontent.com/9baf2667bc9eed08339d6879adb6a4c968f9f88da32343db02777d67fcb30e38/68747470733a2f2f706f7365722e707567782e6f72672f636c617564656a616e7a2f796969322d6d796769692f6c6963656e73652e737667)](https://packagist.org/packages/claudejanz/yii2-mygii)

This generator generates two ActiveRecord class for the specified database table. An empty one you can extend and a Base one which is the same as the original model generatior.

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

[](#installation)

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

Either run

```
$ php composer.phar require "claudejanz/yii2-mygii": "dev-master"

```

or add

```
"claudejanz/yii2-mygii": "dev-master"

```

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

Usage
-----

[](#usage)

```
//if your gii modules configuration looks like below:
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = 'yii\gii\Module';

//remove this two lines
```

```
//Add this into common/config/main-local.php
    'bootstrap' => 'gii',
    'modules' => [
        'gii' => [
            'class' => 'yii\gii\Module',
            'generators' => [
                'doubleModel' => [
                    'class' => 'claudejanz\mygii\generators\model\Generator',
                ],
                'kartik-crud' => [
                    'class'     => 'claudejanz\mygii\generators\kcrud\Generator',
                ],
            ],
        ],
    ],
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~111 days

Recently: every ~117 days

Total

11

Last Release

3072d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1180289?v=4)[Claude JANZ](/maintainers/claudejanz)[@claudejanz](https://github.com/claudejanz)

---

Top Contributors

[![claudejanz](https://avatars.githubusercontent.com/u/1180289?v=4)](https://github.com/claudejanz "claudejanz (18 commits)")

---

Tags

yii2crudgii

### Embed Badge

![Health badge](/badges/claudejanz-yii2-mygii/health.svg)

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

###  Alternatives

[mootensai/yii2-enhanced-gii

Generate Relational (hasMany, hasOne, belongsTo, &amp; nested) Models &amp; CRUD.

202174.6k5](/packages/mootensai-yii2-enhanced-gii)[schmunk42/yii2-giiant

Gii CRUD generator for Yii 2 Framework

269471.5k17](/packages/schmunk42-yii2-giiant)

PHPackages © 2026

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