configure extension to work with Yii2