PHPackages                             bscheshirwork/yii2-cubs - 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. bscheshirwork/yii2-cubs

ActiveLibrary[Database &amp; ORM](/categories/database)

bscheshirwork/yii2-cubs
=======================

Trait for AR. Include \[create|update\]\[At|By\], flags and blockAt fields

1.1.0(7y ago)189MITPHPPHP &gt;=7.0.0

Since Feb 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bscheshirwork/yii2-cubs)[ Packagist](https://packagist.org/packages/bscheshirwork/yii2-cubs)[ RSS](/packages/bscheshirwork-yii2-cubs/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (0)

yii2-cubs
=========

[](#yii2-cubs)

Trait for AR. Include \[create|update\]\[At|By\], flags and blockAt fields

NO MORE monstrous field list!
-----------------------------

[](#no-more-monstrous-field-list)

Many similar AR classes? Already have the specific parent class?

Need `BlameableBehavior` and `BlameableBehavior` for anyone it?

OK.

Example `migration` create table

```

```

Example controller `ProjectController`

```
class ProjectController extends Controller
{
    use \bscheshirwork\cubs\base\CubsControllerTrait;
...

```

[Info](docs/cubs.md)[How to create yii2 extentions tests](docs/tests.md)

\#Installation Add to you `require` section `composer.json`

```
"bscheshirwork/yii2-cubs": "*",

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~138 days

Total

6

Last Release

2789d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5769211?v=4)[bscheshirwork](/maintainers/bscheshirwork)[@bscheshirwork](https://github.com/bscheshirwork)

---

Top Contributors

[![bscheshirwork](https://avatars.githubusercontent.com/u/5769211?v=4)](https://github.com/bscheshirwork "bscheshirwork (71 commits)")

---

Tags

migrationdbyii2activerecordargii template

### Embed Badge

![Health badge](/badges/bscheshirwork-yii2-cubs/health.svg)

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

###  Alternatives

[voskobovich/yii2-linker-behavior

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

79330.6k9](/packages/voskobovich-yii2-linker-behavior)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11415.8k](/packages/yii2tech-illuminate)[spinitron/yii2-dynamic-ar

Extends Yii ActiveRecord for Maria Dynamic Columns

577.0k](/packages/spinitron-yii2-dynamic-ar)[nhkey/yii2-activerecord-history

Storage history of changes to ActiveRecord

45147.2k1](/packages/nhkey-yii2-activerecord-history)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31297.1k6](/packages/dmstr-yii2-migrate-command)[dmstr/yii2-db

Database extensions

19642.9k6](/packages/dmstr-yii2-db)

PHPackages © 2026

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