Member-only story
A Step-by-Step Guide to Upgrading to Laravel 11
3 min readOct 26, 2024
Upgrading to the latest version of Laravel offers several benefits, such as:
- Fewer bugs
- Improved security
- Better compatibility with both official and third-party packages
In this guide, I’ll walk you through the upgrade process with tips you won’t find in the official documentation.
What’s New in Laravel 11 Before You Upgrade
Laravel 11 brings a host of new features and updates. To get a full overview, check out the official release.
Should You Upgrade?
Laravel 10 is still actively supported with:
- Bug fixes until August 6th, 2024
- Security updates until February 4th, 2025
You should consider upgrading if:
- Your project is actively being developed and upgrading offers a clear benefit.
- You require a package that only supports Laravel 11.
- Your project has good test coverage, making the upgrade relatively straightforward.
On the other hand, avoid upgrading if:
- Your project hasn’t had recent updates.
- The project lacks…