flexibuild/component ComponentTrait for yii2, that will allow you to extend your Object instance with behaviors and events functionality.

extensionbehaviorcomponentevent

Yii2 component extension

ComponentTrait for yii2, that will allow you to extend your Object instance with behaviors and events functionality.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist flexibuild/component "*"

or add

"flexibuild/component": "*"

to the require section of your composer.json file.

Usage

Add 'use \flexibuild\component\ComponentTrait' section in your class. After that you can use behaviors and events funcitonality in objects of this class.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
410 total downloads