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

FREDERIC LD's avatar

Upgrading to PHP 7 via composer or start fresh with a new laravel export

Hi,

I have been building an application for quite a while now. I started it with Laravel 5.5. Upgraded to Laravel 6 via composer. And now Laravel 7 is coming out.....

I am just wondering if it is best to restart the rebuild of my application with a fresh version of laravel 7, readd all my code to it, or should I just carry on with my current version and simply update composer.

As I am quite a long way from completing it, it might be a good idea to do a rebuild, but I would appreciate to hear what you guys think

0 likes
4 replies
Sinnbeck's avatar

I would just recommend upgrading it. It should be that hard, and it is good practice as this probably wont be your last time upgrading. There might be a few breaking changes but my guess is that you can solve it in an afternoon. You can always go back using git if it should fail :)

FREDERIC LD's avatar

@sinnbeck did you mean to upgrade with composer? or with a fresh laravel 7 version and adding my code to it?

Please or to participate in this conversation.