Support the ongoing development of Laravel.io →
posted 5 years ago
Last updated 1 year ago.
0
moderator

My experience is that it depends on the packages you use. Personal I try to upgrade directly after the packages I use support the new version. The latest upgrades didn't be a lot of work.

Your test should find any problem that an upgrade create.

0

Yes I agree with above's opinion.Besides, it depends where you use laravel, in production environment I suggest the LTS version, and if you just develop your personal program you can always use the latest version.

Last updated 5 years ago.
0
moderator

Besides, it depends where you use laravel, in production environment I suggest the LTS version, and if you just develop your personal program you can always use the latest version.

Personal I disagree. If you keep updating your project (there is a new version every 6 months) you don't need to stick to the LTS versions. This is (in my experience) more easy to do then to upgrade from LTS to LTS.

if you do upgrade you should first try to upgrade your app's backup copy in a local environment and see if it breaks and upgrade for real if it works

Upgrade should be handled on the same way as every code change. Local/dev -> automated tests -> acceptance/staging environment -> production :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Edgars narkoze Joined 27 Feb 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.