When multiple laravel projects are deployed, the vender folder is the same. How to share this vender folder?
習慣沉默
習慣沉默 2017-05-16 16:48:35
0
1
487

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?

習慣沉默
習慣沉默

reply all(1)
曾经蜡笔没有小新

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template