PHPackages                             flexibuild/migrate - 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. flexibuild/migrate

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

flexibuild/migrate
==================

Helpful tools for yii2 migrations

0.4.0(9y ago)0525MITPHP

Since Mar 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/flexibuild/migrate)[ Packagist](https://packagist.org/packages/flexibuild/migrate)[ RSS](/packages/flexibuild-migrate/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

Yii2 migrate extension
======================

[](#yii2-migrate-extension)

Helpful tools for yii2 migrations.

With this extenension you can:

- forget about wrapping table names like `{{%table_name}}`, extension will do it automatically.
- create indexes and foreign keys without inventing them names.
- create table without passing character set and collate. The extension will do it by default for MySQL databases.
- simply create migrations that create tables with exntending from `flexibuild\migrate\db\CreateTableMigration`.
- and other small features.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist flexibuild/migrate "*"

```

or add

```
"flexibuild/migrate": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by configuring your console application:

```
return [
    ...
    'controllerMap' => [
        ...
        'migrate' => [
            'class' => 'flexibuild\migrate\controllers\MigrateController',
        ],
    ],
    ...
];
```

If you do not want to use migrate command from this extension you may be want simply to extend you migration class from one of:

- `flexibuild\migrate\db\Migration`
- `flexibuild\migrate\db\CreateTableMigration`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~126 days

Total

5

Last Release

3634d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/67a96a51f3d085c3aafe0803136474587e53880f6269d30e7fa8b9444a7a2854?d=identicon)[SeynovAM](/maintainers/SeynovAM)

---

Top Contributors

[![SeynovAM](https://avatars.githubusercontent.com/u/308297?v=4)](https://github.com/SeynovAM "SeynovAM (19 commits)")

---

Tags

migrationyii2extensionmigrate

### Embed Badge

![Health badge](/badges/flexibuild-migrate/health.svg)

```
[![Health](https://phpackages.com/badges/flexibuild-migrate/health.svg)](https://phpackages.com/packages/flexibuild-migrate)
```

###  Alternatives

[bizley/migration

Migration generator for Yii 2.

296389.5k11](/packages/bizley-migration)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

33298.4k6](/packages/dmstr-yii2-migrate-command)[c006/yii2-migration-utility

Automatically writes the create tables for migrations or create tables in general

63161.8k4](/packages/c006-yii2-migration-utility)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11416.2k](/packages/yii2tech-illuminate)[dmstr/yii2-db

Database extensions

19656.2k6](/packages/dmstr-yii2-db)[hzhihua/yii2-dump

Generate the schema from an existing database

1829.6k1](/packages/hzhihua-yii2-dump)

PHPackages © 2026

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