简体   繁体   中英

Change vendor directory path for Symfony project

I'm working to create two symfony projects with one vendor directory

// I need to change this :
my-project1/
└─ vendor/
 my-project2/ 
└─ vendor/ 

// To this :
vendor/
my-project1/
my-project2/

首先,我建议您不要这样做(为什么仍要这样做?),但要回答这个问题:您必须在两个项目中都将vendor-dir设置为../vendor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM