As you might saw in a recent post, Drupal 10 was released and is not the only one reaching the number 10, Laravel is very close to release his version number 10.
The next major version of Laravel, planned for release on February 7th, 2023.
Since Laravel 9, the development team has decided to make a major release every year, so the roadmap for the major releases is this so far.
|Version||PHP (*)||Release||Bug Fixes Until||Security Fixes Until|
|8||7.3 – 8.1||September 8th, 2020||July 26th, 2022||January 24th, 2023|
|9||8.0 – 8.1||February 8th, 2022||August 8th, 2023||February 6th, 2024|
|10||8.1||February 7th, 2023||August 6th, 2024||February 4th, 2025|
|11||8.2||February 6th, 2024||August 5th, 2025||February 3rd, 2026|
As you can see, this version will drop support for PHP 8.0 and it will require PHP 8.1. A huge benefit of this upgrade is that now Laravel will add type-hints and return types on all the application skeleton methods. As per Tylor words
This is a big step that will lead developers to a better quality code, will enhance the static analysis of the code that will help to reduce the number of runtime errors, besides others benefits.
How to get ready?
As usual, our recommendation is to have always your code and servers up to date running regular small upgrades, smaller tasks leads to lower risk with the cost of having multiple small upgrades.
However, we know that upgrades are in the tech debt list in most of the companies, usually for ever.
Going from Laravel 5 to 10 is a huge task with a lot of risks, however, not impossible.
If that is your case, our recommendation is to start now, get some time in you sprint and update your application to the latest available version, after that keep updating your app on regular basis.
The benefits are many, to mention the more obvious
- Latest features
- Reduce the possibility of a security incident
- Core bug fixes
- Improved performance, thanks to PHP 8.1 enhancements
- The possibility to work with the latest tools.
You need help!
Do you want to discuss your scenario and get another opinion on how to proceed, estimate efforts, costs of the upgrade. Send us an email to [email protected] and lets schedule a call to discuss.