pilat
259
4
Tips

How to work on different version of laravel?

Posted 2 months ago by pilat

Hi, I have Laravel 5.3 project locally.

There is also upgrade to Laravel 5.8 in progress.

When I do the upgrade, I switch to 'upgrade' branch, when I have to hit-fix anything in current version — I switch back to 'master'.

The problem is: I need to re-build all dependencies (composer + npm) every time I switch between branches, because both those folders are not in the CVS.

How does anyone addresses this problem?

Please sign in or create an account to participate in this conversation.