Wrap library to yii project