Single vendor for multiple project ?

dear all,

in Yii 1.1.x we can set several projects to use the same framework base.

can we do it in Yii 2.x ? if it is possible, how to do that ?

thank you for your answer,

You can do it the same way as with 1.1 i.e. point index files of multiple apps to the same vendor directory. It’s not really recommended though because accidental update of one project could affect projects you weren’t going to affect.

yes, you got the point, Sam. but actually those projects are closely related, thus we decided to use the same vendor.

in case anyone wants to apply this, just add vendorPath attribute to the web config.$vendorPath-detail

thank you, Yii,!