PHPackages                             yii2-bridge/migrate-command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. yii2-bridge/migrate-command

ActiveYii2-extension[CLI &amp; Console](/categories/cli)

yii2-bridge/migrate-command
===========================

Run migrate for Bridge

v0.1.1(7y ago)06BSD-3-ClausePHP

Since Apr 8Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yii2-bridge/migrate-command)[ Packagist](https://packagist.org/packages/yii2-bridge/migrate-command)[ RSS](/packages/yii2-bridge-migrate-command/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Yii2 Bridge Migrate Command
===========================

[](#yii2-bridge-migrate-command)

If you cannot start `yii2-bridge/core` migrations using a terminal (especially if your project is on a shared hosting), install this package and start migrating via `php`.

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

[](#installation)

### Composer

[](#composer)

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

Either run:

```
composer require yii2-bridge/migrate-command:^0.1.1

```

or add `"yii2-bridge/migrate-command": "^0.1.1"` to the require section of your `composer.json`

### Using

[](#using)

Add a module `Bridge\Migrate\Modules\Module` in the configuration file of the console application to the modules section of the admin module:

```
'console' => [
    ...
    'modules' => [
        'admin' => [
            'class' => \Bridge\Core\BridgeModule::class,
            'modules' => [
                'migrate' => [
                    'class' => 'Bridge\Migrate\Modules\Module',
                ],
            ],
            ...
        ]
    ],
    ...
]
```

To start the migration, just run the command:

```
php yii admin/migrate

```

---

If you want to run migrations on a shared hosting, you can run as php script through cron.
For example for shared hosting PS.kz: [![PS.kz](./images/ps.png)](./images/ps.png)

Author
------

[](#author)

[Altynbek Kazezov](https://github.com/altynbek07/), e-mail:

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

2585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29eaf1b44ccd6f1aa01e8e33a1f79671aa8f3159569ed7970715efcc9a57cc64?d=identicon)[altynbek07](/maintainers/altynbek07)

---

Top Contributors

[![altynbek07](https://avatars.githubusercontent.com/u/20629188?v=4)](https://github.com/altynbek07 "altynbek07 (3 commits)")

---

Tags

consoleyii2commandBridgemigrate

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[samdark/yii2-webshell

A web shell that allows to run yii console commands and create your own commands.

22981.5k1](/packages/samdark-yii2-webshell)

PHPackages © 2026

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