Laravel 9

You read it right, Laraval 9 is available! 🚀

Since Laravel 8, the Laravel team has been releasing a new release every year, instead of every six months. According to the schedule, the release of Laravel 9 was normally scheduled for September 2021, but was postponed in order to run completely future proof on Symfony.

That's also one of the main reasons for this release's existence: seamless integration with the upstream Symfony 6.0 components.

LTS (Long Term Support)

Laravel 9 is a release with Long Term Support. Support here means that the Laravel maintainers commit to update, patch and maintain the core software of the framework for an extended period of time. You can see a handy overview at https://laravelversions.com/. Thus, this version will enjoy security fixes until early 2025. 

As developers, we often feel the urge to choose the newest of the newest, but that is not always in line with the customer's requirements. We sound out your long-term ambitions in order to implement the right software for your case. Thanks to this new version, we can put aside for a moment the question of starting with the latest, top notch Laravel, or this one with LTS. After that, a new LTS version will undoubtedly be ready.

Applications still running on Laravel 6 will only get support until summer 2022 at the latest.

Let's discuss together how to give your application back a long-term vision.

Upgrade

As always, the upgrade path is very well documented. If you don't use outdated code or overwrite any of Laravel's own then this update should go very smoothly.

What is especially important is the minimum PHP requirement of 8.0.2. PHP 7.4 will be EOL at the end of November 2022, so this is certainly not a luxury when starting a new project. It is best to check if your server stack can handle it.

Your current application may have specific implementations that require expert knowledge. We will use our knowledge and experience with Laravel since version 4 in addition to automated tools like Laravel Shift to make the upgrade as seamless as possible.

Changes in Laravel

Although we aspire to write documentation as good as the creators and maintainers of Laravel, we still refer primarily to the Laravel documentation for a full list of new features.

What stuck with us:

  • Swiftmailer makes way for Symfony Mailer, a completely reworked, modernized package that helps deliver mails securely to recipients.

  • Flysystem, the underlying package that handles file management, has been upgraded from 1.x to 3.x at once. This is a hefty upgrade, but provides more stability, features and consistency.

  • Enums, in the PHP world since version 8.1, also find their place within Laravel: Eloquent models can be provided with attribute casting and the route binding can also handle this in a handy way.  

  • Scout, which is responsible for search functionalities, can now also use the database directly as an underlying engine. Ideal for smaller projects, or in the beginning of development, when there is sometimes a limited stack and data.

  • Besides the further implementation of native types, there are a number of other things that the neatfreaks among us will be very happy about, such as the Collections IDE support and perhaps also a new Query Builder Interface.

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden

More insights

Cross-platform applicaties with React Native

Never before has developing native mobile applications been as accessible as it is today. At Codana, we do this by using the React Native, an open-source framework developed by Meta.

Author: Jinse Camps
Architect | Analyst
Jinse Camps
dev

Laracon EU 2024

A fantastic learning experience to inspire and be inspired together with a lot of other Laravel passionate people! Something we couldn't miss and very much connect with the community. What a top event! Who will we see next editions? 😮

Author: Noah Gillard
PHP / Laravel Developer
Noah Gillard AI generated Face
laracon codana persoon

An efficient tourism data management system

A TDMS or Tourist Data Management System, is simply a platform that retrieves data from various sources, processes it internally either automatically or not, and offers this data back to external platforms.

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
laptop

Tourism Data Management Systems

In dit artikel verkennen we wat een TDMS is, waarom het essentieel is voor de toerisme-industrie, en hoe technologieën zoals Laravel en ElasticSearch het verschil kunnen maken. 

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
tdms

The difference between data management and data processing in a digital economy

Gegevens zijn cruciaal voor bedrijven en het begrijpen van de verschillen tussen gegevensbeheer en gegevensverwerking kan verwarrend zijn. In dit artikel zullen we deze verschillen in de digitale economie nader bekijken om hun doelen en toepassingen beter te begrijpen.

Author: Tom Van den Eynden
Web Architect | Coordinator
Tom Van den Eynden
gegevensverwerking

Test Driven Development - application to a project

TDD, or in full Test Driven Development, is an approach to development where we start from writing tests.

Author: Sarah Jehin
PHP developer
Sarah Jehin
development