PHPackages                             nyx-solutions/yii2-nyx-mvc - 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-mvc

ActiveLibrary[Framework](/categories/framework)

nyx-solutions/yii2-nyx-mvc
==========================

Yii2 NYX MVC

5.0.0(3y ago)19093BSD-3-ClausePHPPHP &gt;=8.1.0 &lt;8.2

Since Feb 21Pushed 3y ago2 watchersCompare

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

READMEChangelog (6)Dependencies (1)Versions (16)Used By (3)

Yii PHP Framework Version 2 / NYX MVC
=====================================

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

NYX MVC adds more functionality to the following YII2 MVC Classes: `\yii\base\Model`, `\yii\db\ActiveRecord`, `\yii\web\Controller` and `\yii\web\View`.

[![Latest Stable Version](https://camo.githubusercontent.com/12870945be870c13b2fb644c93c79d06fa6cd4004e669cc7f9c222adb1a6a3fc/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f762f737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![Total Downloads](https://camo.githubusercontent.com/5a703b5263bd1f686f74e2daa35b78a1aa481359f77c8034dc4a5816cd1c61bb/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f646f776e6c6f616473)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![Latest Unstable Version](https://camo.githubusercontent.com/0e2d82c34e89852e0b294c2ac3a2668eb70275f82c6f3de2fec773591e226786/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f762f756e737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![License](https://camo.githubusercontent.com/612a353e081debc697e803ac67b1de7839b4bcd2f8c650ea2ed36cf0c6e96993/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f6c6963656e7365)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![Monthly Downloads](https://camo.githubusercontent.com/3316b75ba81d82e51938a56e53ce44a3da24f68d8f3b956928b775727e63d9bb/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f642f6d6f6e74686c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![Daily Downloads](https://camo.githubusercontent.com/b4f255f7b44ee389fca9b5828f880ed1642b59935852006024b56bec902440d1/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f642f6461696c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)[![composer.lock](https://camo.githubusercontent.com/5135109e7abd9a7a79bf98a87cf30c1f0a7402dd4c2fd1b5ac99ca675131e3ff/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d6d76632f636f6d706f7365726c6f636b)](https://packagist.org/packages/nyx-solutions/yii2-nyx-mvc)

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-mvc "*"
```

or add

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

```

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

Usage
-----

[](#usage)

### Models

[](#models)

Just use `extends` in your base class:

```
class Model extends \nyx\mvc\base\Model
{
}
```

### ActiveRecord Models

[](#activerecord-models)

Just use `extends` in your base class:

```
class ActiveRecordModel extends \nyx\mvc\base\ActiveRecord
{
}
```

### Controllers:

[](#controllers)

Just use `extends` in your base class:

```
class Controller extends \nyx\mvc\web\Controller
{
}
```

### Views:

[](#views)

Just use `extends` in your base class:

```
namespace frontend\components\web;

class View extends \nyx\mvc\web\View
{
}
```

And configure your View in the `components` section of your Yii2 configuration file.

```
'components' => [
    'view' => [
        'class' => 'frontend\components\web\View'
    ]
]
```

License
-------

[](#license)

**yii2-nyx-mvc** 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

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.9% 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 ~163 days

Recently: every ~458 days

Total

15

Last Release

1441d ago

Major Versions

1.1.0 → 2.0.02020-05-03

2.0.1 → 4.0.02022-06-01

4.0.0 → 5.0.02022-06-02

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

2.0.0PHP &gt;=7.4.0

5.0.0PHP &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 (16 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

phpframeworkmvcyii2extension

### Embed Badge

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

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

PHPackages © 2026

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