/yii2-behaviors

A compilation of useful behaviors for the Yii2 framework.

Primary LanguagePHPMIT LicenseMIT

Yii2 Behaviors (Development Phase)

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.