Let’s say we use addon domains in cpanel.
We will be able to put many laravel projects in one cpanel accounts as following structure.
- Project 1 * app * bootstrap ... * public * vendor ... - Project 2 * app * bootstrap ... * public * vendor ... .....
We can point domains to public directory of each project.
I just wondered if we can use same vendor directory for all projects.
Of course, we should assume all projects used same packages.
I think we include autoload.php in index.php file of public directory.
If we arrage project structure well, is it possible to use same vendor for all projects?
Source: Symfony Questions
Was this helpful?
0 / 0