PHPackages                             nyx-solutions/yii2-nyx-migration - 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. [Framework](/categories/framework)
4. /
5. nyx-solutions/yii2-nyx-migration

ActiveLibrary[Framework](/categories/framework)

nyx-solutions/yii2-nyx-migration
================================

Yii2 Extended Migration Toolkit

5.0.1(3y ago)186BSD-3-ClausePHPPHP &gt;=8.1.0 &lt;8.2

Since Feb 14Pushed 3y ago2 watchersCompare

[ Source](https://github.com/nyx-solutions/yii2-nyx-migration)[ Packagist](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[ RSS](/packages/nyx-solutions-yii2-nyx-migration/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (26)Used By (0)

Yii PHP Framework Version 2 / NYX Migration Library
===================================================

[](#yii-php-framework-version-2--nyx-migration-library)

Yii2 NYX Migration is a library with Migrations methods for Yii2.

[![Latest Stable Version](https://camo.githubusercontent.com/d193020fbf56deaad0bd67fba9b91ca89b6bd1aa1591245c20a76f9c34cc0c94/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f762f737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![Total Downloads](https://camo.githubusercontent.com/416921fa53994f57d9dbe9ed6834ff481868dfc15e192fa8b0cce51a9d2e1fbb/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![Latest Unstable Version](https://camo.githubusercontent.com/16bd7110db1c53ba4e3a2fb2a1904894490ce3966152ecab94450d221c6f2bde/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f762f756e737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![License](https://camo.githubusercontent.com/30563c07b05afe9da1b82f4ca6e8dbe66cd36c8c8e9d59153027aef0fceaa024/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f6c6963656e7365)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![Monthly Downloads](https://camo.githubusercontent.com/563c7d19c988c0b446c265bba7f96b0947580af4943cc19292fb49cf176bd8cf/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f642f6d6f6e74686c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![Daily Downloads](https://camo.githubusercontent.com/b114b520d1704d258c0762929fbd6512284f1f54a5b8be1fdd3de028be882b71/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f642f6461696c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)[![composer.lock](https://camo.githubusercontent.com/17153845f89f10419b7ec221b030be0c6896b48f1c93120f50a9f7c09978e5fe/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d6967726174696f6e2f636f6d706f7365726c6f636b)](https://packagist.org/packages/nyx-solutions/yii2-nyx-migration)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nyx-solutions/yii2-nyx-migration "*"
```

or add

```
"nyx-solutions/yii2-nyx-migration": "*"

```

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

Usage
-----

[](#usage)

```
use nyx\db\Migration;

class m150409_195340_site extends Migration
{
    /**
     * @inheritdoc
     */
    protected $tableName = 'site';

    /**
     * @inheritdoc
     */
    public function safeUp()
    {
        $columns = [
            'id'                => $this->bigPrimaryKey($this->pkLength),
            'name'              => $this->string(2000)->notNull()
        ];

        $this->createTable($this->getCurrentTableName(), $columns, $this->getTableOptions());
    }
}
```

License
-------

[](#license)

**yii2-nyx-migration** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.3% 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 ~100 days

Recently: every ~450 days

Total

24

Last Release

1441d ago

Major Versions

1.2.1 → 2.0.02020-05-03

2.0.0 → 4.0.02022-06-01

4.0.0 → 5.0.12022-06-02

PHP version history (3 changes)1.0.5PHP &gt;=5.4.0

2.0.0PHP &gt;=7.4.0

5.0.1PHP &gt;=8.1.0 &lt;8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7c641a4199171cc30bf08b9bf67636a8463acf86813fa259aab131b5bd5a161?d=identicon)[nyx-solutions](/maintainers/nyx-solutions)

---

Top Contributors

[![jsas4coding](https://avatars.githubusercontent.com/u/4156892?v=4)](https://github.com/jsas4coding "jsas4coding (41 commits)")[![brenoherculano](https://avatars.githubusercontent.com/u/90738807?v=4)](https://github.com/brenoherculano "brenoherculano (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phpframeworkmigrationyii2extension

### Embed Badge

![Health badge](/badges/nyx-solutions-yii2-nyx-migration/health.svg)

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

PHPackages © 2026

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