Hamza Ouaghad
Hamza Ouaghad

Reputation: 79

How do I use multiple versions of Laravel on the same machine?

After that I had to contribute to one of Laravel 4 projects, I cloned it and just ran blindly composer install, to get the dependencies of 4...

However when I came back to projects of laravel 5, I had to re-run the command to continue working on them too..

So instead of re-running composer all the time, is there a neater alternative to have multiple versions of laravel on the same machine on the same user?

I am using Ubuntu 14.04 LTS

Upvotes: 3

Views: 3568

Answers (1)

Marcin Orlowski
Marcin Orlowski

Reputation: 75629

You seem to have Laravel installed globally, and if this is the case, then you should install it locally instead (per project), so it won't conflict living in each project's vendor/ folder.

Upvotes: 6

Related Questions