ComponentTrait for yii2, that will allow you to extend your Object instance with behaviors and events functionality.
Sources Download
MIT
component extension yii2 behavior event