Add option to set yii2 dependency