jlorente/yii2-behaviors

A compilation of useful behaviors for the Yii2 framework.

dev-master 2022-11-22 17:20 UTC

This package is auto-updated.

Last update: 2024-10-22 21:17:19 UTC


README

A compilation of useful behaviors for the Yii2 framework.

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

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

In construction

License

Copyright © 2015 José Lorente Martín jose.lorente.martin@gmail.com.