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

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

webvimark/yii2-migrate
======================

Yii2 migrate command that scan new migrations in modules

1.0.3(9y ago)42001MITPHP

Since Sep 12Pushed 9y ago3 watchersCompare

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

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

Migrate controller for Yii 2
============================

[](#migrate-controller-for-yii-2)

Automatically scan for new migrations in all available modules.

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

[](#installation)

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

Either run

```
composer require webvimark/yii2-migrate

```

or add

```
"webvimark/yii2-migrate": "^1.0"
```

Usage
-----

[](#usage)

To use this extension, simply add the following code in your application configuration (console.php):

```
'controllerMap' => [
    'migrate' => [
        'class' => 'webvimark\migrate\Controller',
        'configs' => [
            'config/console.php',
            'config/web.php',
        ],
//        'additionalPaths' => [
//            'some-path/some-dir', //directory
//            '@yii/rbac/migrations', // directory with alias
//            '@yii/web/migrations/m160313_153426_session_init.php', // single file
//        ],
    ],
],
```

```
# Run as usual
php yii migrate

```

### Available options

[](#available-options)

*configs* - array. Application configuration files with 'modules' section

*onlyModules* - array. Scan for new migrations only in modules listed here

*exceptModules* - array. Do not scan for new migrations in modules listed here

*additionalPaths* - array. You can specify additional paths

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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

4

Last Release

3578d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6502086?v=4)[webvimark](/maintainers/webvimark)[@webvimark](https://github.com/webvimark)

---

Top Contributors

[![johny011409](https://avatars.githubusercontent.com/u/59572323?v=4)](https://github.com/johny011409 "johny011409 (3 commits)")[![webvimark](https://avatars.githubusercontent.com/u/6502086?v=4)](https://github.com/webvimark "webvimark (1 commits)")

---

Tags

migrationyii2modules

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[bizley/migration

Migration generator for Yii 2.

296389.5k11](/packages/bizley-migration)[yii2tech/illuminate

Yii2 to Laravel Migration Package

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

Console Migration Command with multiple paths/aliases support

31297.1k6](/packages/dmstr-yii2-migrate-command)[tmukherjee13/yii2-reverse-migration

Generate working migration classes from existing Database

2221.8k](/packages/tmukherjee13-yii2-reverse-migration)

PHPackages © 2026

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