PHPackages                             lav45/yii2-behaviors - 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. lav45/yii2-behaviors

ActiveYii2-extension[Framework](/categories/framework)

lav45/yii2-behaviors
====================

This is a set of Yii2 behaviors extensions

0.7.2(1y ago)611.7k↓25.3%3[1 issues](https://github.com/LAV45/yii2-behaviors/issues)BSD-3-ClausePHPPHP &gt;=5.5.0CI failing

Since Oct 4Pushed 1y ago3 watchersCompare

[ Source](https://github.com/LAV45/yii2-behaviors)[ Packagist](https://packagist.org/packages/lav45/yii2-behaviors)[ Docs](https://github.com/lav45/yii2-behaviors)[ RSS](/packages/lav45-yii2-behaviors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (24)Used By (0)

yii2-behaviors
==============

[](#yii2-behaviors)

[![Latest Stable Version](https://camo.githubusercontent.com/8869138aa649a72246959af86e9f8b64e65e2957851a3315af2c0dd83d6efff8/68747470733a2f2f706f7365722e707567782e6f72672f6c617634352f796969322d6265686176696f72732f762f737461626c65)](https://packagist.org/packages/lav45/yii2-behaviors)[![License](https://camo.githubusercontent.com/505fb381dcd331da9e556904b8ea21fcc601e08c9ab54d4a776ddf4ed4b20723/68747470733a2f2f706f7365722e707567782e6f72672f6c617634352f796969322d6265686176696f72732f6c6963656e7365)](https://packagist.org/packages/lav45/yii2-behaviors)[![Total Downloads](https://camo.githubusercontent.com/be69f3787dc6bf317de601dc29ee34c6439d5fc929b0007ee59704df3c1b186c/68747470733a2f2f706f7365722e707567782e6f72672f6c617634352f796969322d6265686176696f72732f646f776e6c6f616473)](https://packagist.org/packages/lav45/yii2-behaviors)[![Build Status](https://github.com/lav45/yii2-behaviors/workflows/build/badge.svg)](https://github.com/lav45/yii2-behaviors/actions)

This is a set of small Yii2 behaviors extensions.

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

[](#installation)

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

You can set the console

```
~$ composer require lav45/yii2-behaviors --prefer-dist

```

or add

```
"lav45/yii2-behaviors": "0.6.*"

```

in `require` section in `composer.json` file.

Contents
--------

[](#contents)

- [SerializeBehavior](docs/SerializeBehavior.md)
- [SerializeProxyBehavior](docs/SerializeProxyBehavior.md)
- [PushBehavior](docs/PushBehavior.md)
- [PushModelBehavior](docs/PushModelBehavior.md)
- [CorrectDateBehavior](docs/CorrectDateBehavior.md)

Testing
=======

[](#testing)

```
~$ docker build --pull --build-arg UID=$(id -u) --build-arg GID=$(id -g) --rm -t php8-cli .
~$ ./container composer update --prefer-dist
~$ ./container vendor/bin/phpunit

```

License
-------

[](#license)

**yii2-behaviors** it is available under a BSD 3-Clause License. Detailed information can be found in the `LICENSE.md`.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~121 days

Recently: every ~181 days

Total

22

Last Release

606d ago

Major Versions

0.6.2 → 1.0.x-dev2020-06-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/675367?v=4)[Alex](/maintainers/LAV45)[@lav45](https://github.com/lav45)

---

Top Contributors

[![lav45](https://avatars.githubusercontent.com/u/675367?v=4)](https://github.com/lav45 "lav45 (76 commits)")[![alfa213](https://avatars.githubusercontent.com/u/51174728?v=4)](https://github.com/alfa213 "alfa213 (4 commits)")[![nohnaimer](https://avatars.githubusercontent.com/u/8865830?v=4)](https://github.com/nohnaimer "nohnaimer (1 commits)")

---

Tags

behavioryii2yii2extensionBehavior

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lav45-yii2-behaviors/health.svg)

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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