The vender folder is the same when multiple laravel projects are deployed. How to share a vender folder?
Or to be more thorough, if two projects only have different env files (databases are separate) and public folders, and the contents of other folders are the same, how can they share these same files and folders when deployed on centos? Woolen cloth? Use soft connection?
曾经蜡笔没有小新2017-05-16 16:50:35
You answered it yourself. Soft link. Why are you still asking?
In fact, the place where the vendor is specified in the project is loaded in index.phprequire __DIR__.'/../bootstrap/autoload.php';
Just change it here orz