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

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

jlorente/yii2-behaviors
=======================

A compilation of useful behaviors for the Yii2 framework.

2731PHP

Since Nov 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jlorente/yii2-behaviors)[ Packagist](https://packagist.org/packages/jlorente/yii2-behaviors)[ RSS](/packages/jlorente-yii2-behaviors/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Behaviors (Development Phase)
==================================

[](#yii2-behaviors-development-phase)

A compilation of useful behaviors for the Yii2 framework.

Included Behaviors
------------------

[](#included-behaviors)

**ActiveOrderBehavior** - A behavior to handle a sorting field in models of the same type. **EnhancedAttributeBehavior** - Acts like the attribute behavior but allows that attributes could depend on attributes in the related models.

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

[](#installation)

Include the package as dependency under the composer.json file.

To install, either run

```
$ php composer.phar require jlorente/yii2-behaviors "*"
```

or add

```
...
    "require": {
        // ... other configurations ...
        "jlorente/yii2-behaviors": "*"
    }
```

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

Usage
-----

[](#usage)

In construction

License
-------

[](#license)

Copyright © 2015 José Lorente Martín .

###  Health Score

17

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5b6d568331349beaf1945db65a076cf60e6c124d504fcb43a21937f0c85bde3?d=identicon)[jlorente](/maintainers/jlorente)

---

Top Contributors

[![jlorente](https://avatars.githubusercontent.com/u/301741?v=4)](https://github.com/jlorente "jlorente (10 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k65.4M157](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k11.6M75](/packages/spiral-roadrunner)[composer/installers

A multi-framework Composer library installer

1.4k133.5M5.5k](/packages/composer-installers)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k35.9M224](/packages/laravel-dusk)[laravel/fortify

Backend controllers and scaffolding for Laravel authentication.

1.7k38.8M191](/packages/laravel-fortify)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.0M102](/packages/cakephp-chronos)

PHPackages © 2026

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