PHPackages                             cyberz/yii2-multipath-migrations - 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. cyberz/yii2-multipath-migrations

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

cyberz/yii2-multipath-migrations
================================

Allow to apply migrations from multiple paths or aliases

1.0.1(10y ago)321.0k↓50%2MITPHP

Since Sep 24Pushed 8y agoCompare

[ Source](https://github.com/cyberz/yii2-multipath-migrations)[ Packagist](https://packagist.org/packages/cyberz/yii2-multipath-migrations)[ RSS](/packages/cyberz-yii2-multipath-migrations/feed)WikiDiscussions master Synced 1mo ago

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

Yii2 Multiple Path Migration
============================

[](#yii2-multiple-path-migration)

Allow to apply migrations from multiple paths or aliases

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

[](#installation)

via Composer:

```
php composer.phar require cyberz/yii2-multipath-migrations ">=1.0.0"

```

Usage
-----

[](#usage)

In your console application configuration add:

```
'controllerMap' => [
        'migrate' => [
            'class' => 'cyberz\migrations\controllers\MigrationsController',
            'migrationLookup' => [
                '@app',                         // will lookup in .../migrations/migration_name.php AND ...//migrations/migration_name.php
                '@backend',                     // will lookup in .../backend//migrations/migration_name.php AND .../backend/modules//migrations/migration_name.php
                '@frontend/modules',            // will lookup in .../frontend/modules//migrations/migration_name.php
                '@app/some/path/to/migrations', // will lookup in .../some/path/to/migrations/migration_name.php
                '@app/some/*/to/*/migrations',  // will lookup in .../some//to//migrations
            ],
        ],
    ],
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

2

Last Release

3884d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1117b22e1677b6f263973f3bf4c915e90b73a9cc7a77642bd564a19241d29b06?d=identicon)[cyberz](/maintainers/cyberz)

---

Top Contributors

[![cyberz](https://avatars.githubusercontent.com/u/2190074?v=4)](https://github.com/cyberz "cyberz (1 commits)")[![exileed](https://avatars.githubusercontent.com/u/942898?v=4)](https://github.com/exileed "exileed (1 commits)")

---

Tags

migrationsyii2extensionaliasesmultiple path

### Embed Badge

![Health badge](/badges/cyberz-yii2-multipath-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/cyberz-yii2-multipath-migrations/health.svg)](https://phpackages.com/packages/cyberz-yii2-multipath-migrations)
```

###  Alternatives

[dmstr/yii2-db

Database extensions

19618.8k6](/packages/dmstr-yii2-db)[sjaakp/yii2-spatial

Yii2 ActiveRecord supporting MySQL spatial data

1873.8k1](/packages/sjaakp-yii2-spatial)

PHPackages © 2026

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