PHPackages                             phuongdev89/yii2-migration-generator - 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. phuongdev89/yii2-migration-generator

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

phuongdev89/yii2-migration-generator
====================================

gii tool for mass migration generation by Schema

0209PHP

Since Jan 10Pushed 3y agoCompare

[ Source](https://github.com/phuongdev89/yii2-migration-generator)[ Packagist](https://packagist.org/packages/phuongdev89/yii2-migration-generator)[ RSS](/packages/phuongdev89-yii2-migration-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

========== Using [insolita/yii2-migration-generator](https://github.com/Insolita/yii2-migrik) is better:

```
https://github.com/Insolita/yii2-migrik

```

Migration Generator From Mysql database (beta)
==============================================

[](#migration-generator-from-mysql-database-beta)

generate migration files (not dumps!) with indexes, and foreign keys, for one table, comma separated list of tables, by part of table name, for all tables by \*

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 phuongdev89/yii2-migration-generator "*"

```

or add

```
"phuongdev89/yii2-migration-generator": "*"

```

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

Usage (MYSQL ONLY): Just install, go to gii and use

Known Issues:

- sometimes not correct work gii preview - it`s features gii preview, and naming of migration files which named with timestamp data

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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/b606411df0cf562fe1d77d5ee80c3ef2e2c34a06d93470a4127c8910132ba258?d=identicon)[phuongdev89](/maintainers/phuongdev89)

---

Top Contributors

[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (3 commits)")[![Insolita](https://avatars.githubusercontent.com/u/1847402?v=4)](https://github.com/Insolita "Insolita (2 commits)")

### Embed Badge

![Health badge](/badges/phuongdev89-yii2-migration-generator/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-yii2-migration-generator/health.svg)](https://phpackages.com/packages/phuongdev89-yii2-migration-generator)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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