PHPackages                             wilwade/gii-migration - 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. [Database &amp; ORM](/categories/database)
4. /
5. wilwade/gii-migration

ActiveYii2-extension[Database &amp; ORM](/categories/database)

wilwade/gii-migration
=====================

Yii2 Gii Migration Generator

v1.0.2(11y ago)214.0k2MITPHP

Since Dec 10Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

gii-migration
=============

[](#gii-migration)

A Yii2 Gii Code Generator to create basic new table migrations easily.

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

[](#installation)

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

```
"wilwade/gii-migration": "dev-master"

```

Usage
-----

[](#usage)

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

```
//Add this into common/config/main-local.php
    $config['modules']['gii'] = [
		'class' => 'yii\gii\Module',
		'generators' => [
			'giiMigration' => [
				'class' => 'wilwade\giiMigration\generators\migration\Generator',
				//Optional:
				'defaultColumns' => [],
				'baseClass' => 'yii\db\Migration',
			],
		],
    ],
```

Optional Config
---------------

[](#optional-config)

- defaultColumns: Used to have an array of columns that will be added if the include default columns checkbox is checked
- baseClass: Used if you want to extend something besides the default Migration class

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~0 days

Total

3

Last Release

4168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ef04cc3bc574d545ed1f76b548aeb28214d9782e0e7afbe30ccca580bf5ac04?d=identicon)[wilwade](/maintainers/wilwade)

---

Top Contributors

[![wilwade](https://avatars.githubusercontent.com/u/1252199?v=4)](https://github.com/wilwade "wilwade (11 commits)")[![philipdbrown](https://avatars.githubusercontent.com/u/1117499?v=4)](https://github.com/philipdbrown "philipdbrown (4 commits)")

---

Tags

migrationyii2gii

### Embed Badge

![Health badge](/badges/wilwade-gii-migration/health.svg)

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

###  Alternatives

[johnitvn/yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2

97209.6k16](/packages/johnitvn-yii2-ajaxcrud)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11315.1k](/packages/yii2tech-illuminate)

PHPackages © 2026

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