PHPackages                             notamedia/yii2-relation - 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. notamedia/yii2-relation

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

notamedia/yii2-relation
=======================

Saving related data in Yii2

1.0.0(8y ago)95.2k↓100%MITPHP &gt;=5.6.0

Since Dec 30Compare

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

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/notamedia/yii2-relation).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3182d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4ee0f9569dfa9de7a91997c66a30781937442876adceff9dd1ec0065262de8c?d=identicon)[Nik Samokhvalov](/maintainers/Nik%20Samokhvalov)

---

Tags

yii2many to manyrelationone-to-many

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/notamedia-yii2-relation/health.svg)

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

###  Alternatives

[voskobovich/yii2-linker-behavior

This behavior makes it easy to maintain many-to-many and one-to-many relations in your ActiveRecord models.

80319.0k9](/packages/voskobovich-yii2-linker-behavior)[mootensai/yii2-relation-trait

Yii 2 Models load with relation, &amp; transaction save with relation

47220.3k9](/packages/mootensai-yii2-relation-trait)[voskobovich/yii2-many-many-behavior

This behavior makes it easy to maintain relations many-to-many in the your ActiveRecord model.

112181.9k2](/packages/voskobovich-yii2-many-many-behavior)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11315.1k](/packages/yii2tech-illuminate)[arogachev/yii2-many-to-many

Many-to-many ActiveRecord relation for Yii 2 framework

3541.2k4](/packages/arogachev-yii2-many-to-many)

PHPackages © 2026

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