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

ActiveLibrary[Database &amp; ORM](/categories/database)

rocketfirm/yii2-migration-generator
===================================

Generates yii2 migrations from database

26PHP

Since Jul 28Pushed 9y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Migratraion Generator
==========================

[](#yii2-migratraion-generator)

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

[](#installation)

Preferred way to install is through composer

```
composer require rocketfirm/yii2-migration-generator

```

Usage
-----

[](#usage)

Add following line of code to your `main-local.php` config file

```
$config['modules']['gii']['generators']['sanzhikee-gii-migration'] = 'rocketfirm\generator\migration\Generator';

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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://avatars.githubusercontent.com/u/3990098?v=4)[Galymzhan Abdugalimov](/maintainers/naffiq)[@naffiq](https://github.com/naffiq)

![](https://avatars.githubusercontent.com/u/6338827?v=4)[Rocket Firm](/maintainers/rocketfirm)[@rocketfirm](https://github.com/rocketfirm)

---

Top Contributors

[![naffiq](https://avatars.githubusercontent.com/u/3990098?v=4)](https://github.com/naffiq "naffiq (7 commits)")[![sanzhikee](https://avatars.githubusercontent.com/u/10150115?v=4)](https://github.com/sanzhikee "sanzhikee (1 commits)")

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/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

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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