Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bender_michael's avatar

Recommendations for upgrade from 5.0

I came across a project that is running version 5.0.33 of the laravel-framework and they are having performance issues. I'm thinking step one is to get them on PHP7 and the latest version of Laravel and go from there.

I'm thinking we'll just have to follow the upgrade guides from 5.0 to 5.1 to 5.2... etc... Any suggestions on how to move forward? Has anyone made an upgrade of similar point release jump before? Happy to hear about any potential gotchyas and what I'm up against.

It looks like 5.1 is the first version to support PHP7 so I might stop there for now to see what gains I get out of PHP7 before continuing.

As a side note, is there much caching by default in the later versions of laravel? Will I get any performance gains by just implementing a redis cache over the file cache (assuming no caching is implemented by the specific application itself)?

0 likes
1 reply
jlrdw's avatar
jlrdw
Best Answer
Level 75

Three ways

  • Upgrade one version at a time, a pain
  • Just install new version, and re-use what code you can
  • Look at laravel shift https://laravelshift.com/

I prefer option 2, as most QB, ORM, database code is same, It doesn't take too long to learn what to change. But still read over the upgrade guides so you will know what to look for.

1 like

Please or to participate in this conversation.