Laravel Upgrade to Laravel 13, One Safe Step at a Time
One major version at a time, tests on the money paths, on your live database, with a rollback for every step.
Last updated December 2026
How do I upgrade an old Laravel app to Laravel 13 safely?
Upgrade one major Laravel version at a time, with tests green at each step, rather than jumping straight to 13. Start by confirming PHP 8.3+ can run where the app is hosted, because Laravel 13 requires it. Before changing the framework, add tests around the flows that make money or cause support tickets if they break. Run composer why-not against the next target to find packages that block the upgrade, then update, replace or absorb them. On the Laravel 13 hop, pin your existing CACHE_PREFIX, REDIS_PREFIX and SESSION_COOKIE values and keep session serialization as php for the cutover so users are not logged out by a default rename. Deploy each hop through staging with a rollback path, restart queue workers, and keep database changes additive. Laravel 13 itself is a relatively small framework jump from 12; several majors behind with no tests is a different job, which is why a paid written audit comes first (price decided after the scoping call, not published on the page).
If your app is still on Laravel 8–11, it no longer gets framework security fixes. Laravel 12 is still in its security window, but bug fixes have already ended. I upgrade Laravel apps in small, tested steps on your existing database. I'm Umer Farooq, a senior full-stack developer with 9+ years of experience. Laravel is the framework I use most. I work remotely from Pakistan, and you talk to me directly — no account manager. The apps I work on today run on Laravel 11, 12 and 13; this site runs on Laravel 13.
Book a scoping call. The usual first deliverable after that conversation is a paid written audit, so you know the size of the job before any code changes.
Is your Laravel version still supported?
Laravel gives every major release 18 months of bug fixes and 2 years of security fixes. According to the official Laravel 13 release notes:
| Version | Released | Security fixes until | Supported PHP |
|---|---|---|---|
| Laravel 10 | February 2023 | February 2025 (ended) | 8.1 to 8.3 |
| Laravel 11 | March 2024 | 12 March 2026 (ended) | 8.2 to 8.4 |
| Laravel 12 | February 2025 | 24 February 2027 (bug fixes ended 13 August 2026) | 8.2 to 8.5 |
| Laravel 13 | 17 March 2026 | 17 March 2028 (bug fixes through Q3 2027) | 8.3 to 8.5 |
Apps on Laravel 11 or older are already past framework security support. Laravel 12 still gets security fixes until 24 February 2027, but bug fixes ended on 13 August 2026. Laravel 13 is the current target, with security fixes until 17 March 2028. Laravel 13 needs PHP 8.3 or newer, so on most older apps the PHP upgrade and the framework upgrade have to be planned together. If the app is still on PHP 8.2, PHP 8.2 end of life: what to do covers the 31 December 2026 deadline.
A recent reason to stay current
On 4 November 2026, GitHub published advisory GHSA-63hm-g96r-2m2q — Task Output Injection in Concurrency. It is Low severity and needs specific insecure application patterns to matter. It was patched in Laravel 13.40.0 and back-ported to 12.x. The takeaway for an owner is not panic: security fixes land on supported releases. On Laravel 11 or older, that patch never arrives.
Who this is for
- Teams on an end-of-life Laravel version who keep putting the upgrade off because nobody is sure what will break.
- Founders whose original developer has left, and the app hasn't been touched beyond small fixes since.
- Businesses whose host is retiring an old PHP version and the app won't run on the newer one yet.
- Apps with a Filament admin panel, Livewire or other packages that have to move to new major versions at the same time.
- Teams who want new framework features, but can't use them until the app is current.
- Teams on Laravel 12 who want to plan the move to 13 before security pressure hits.
If your app isn't on Laravel at all, see legacy application modernization or CodeIgniter to Laravel migration instead.
Why Laravel upgrades go wrong
The framework itself usually changes less than people expect between majors. What actually stops an upgrade:
- Abandoned packages. A package with no release for the next Laravel version blocks Composer. It has to be updated, replaced or brought in-house.
- The PHP floor. PHP 8.3+ brings deprecations (dynamic properties, implicit nullable parameters) and stricter types.
- Code that relies on behaviour, not signatures. Default values, query-builder edge cases or middleware order can change quietly. Tests catch them.
- No tests. Without a safety net, every change is a guess. This is the most common reason an upgrade drags on.
- Old build tooling. Apps started on Laravel 8 or earlier often still use Mix rather than Vite.
- Server and deployment setup. Shared hosting, cPanel, a VPS or a container image need the new PHP version in place before the release, not after.
- Unpinned cache and session names on Laravel 13. Deploying without pinning CACHE_PREFIX, REDIS_PREFIX and SESSION_COOKIE can log everyone out and empty the cache.
Upgrade, rewrite, or modernize piece by piece?
Not every tired Laravel app needs a rewrite. Most don't.
- Upgrade when the app is still Laravel-shaped, the data model is sound, and the product direction is stable. That is this page.
- Rewrite when the data model is wrong at the root, the product is pivoting away from most of what exists, or the codebase is not really Laravel under the folder names. Rewrite is rarely the first answer.
- Strangler / module-by-module when revenue has to keep flowing and a few domains hold most of the pain. Get onto a supported Laravel release first, then modernize the painful modules. That is closer to legacy application modernization. If the app is still CodeIgniter, see CodeIgniter to Laravel migration.
Many troubled apps land in the middle: get onto a supported release first, then modernize the painful modules so the business keeps earning.
How I upgrade a Laravel app to Laravel 13
- Audit. I read the code,
composer.json, server setup and tests (or note that there aren't any). You get a paid written audit — versions, packages, and ranked risks — before any framework code changes. - A safety net first. Before changing the framework, I add tests around login, checkout, invoicing, reports and key API endpoints.
- One major version at a time. Hops are committed and, where possible, deployed separately: 10→11, then 11→12, then 12→13. Each hop follows the official Laravel upgrade guide, lives on its own branch, and ships with a passing test run.
- Packages and PHP. Abandoned packages are bumped, replaced or absorbed. PHP moves up with the framework. Laravel 13 requires PHP 8.3+.
- Admin panels and frontend. Filament, Livewire or Inertia upgrades where they apply, and Mix→Vite if the app still needs it.
- Deploy with a way back. Staging first, then production through your existing hosting, with a rollback path. Your database stays in place.
A Laravel 12→13 hop is often small — the official notes say most apps may upgrade to Laravel 13 without changing much application code. Several majors behind with no tests is a different job. The audit tells you which one you have.
What "safe" means on deploy day
On the day a hop goes live:
- Staging first, on the same PHP version and queue setup you will use in production.
- Pin CACHE_PREFIX, REDIS_PREFIX and SESSION_COOKIE to the values the running app already uses.
- Keep session serialization as
phpfor the cutover unless a planned re-login is acceptable. - Restart queue workers after the release.
- Additive database changes only, and a rollback path that does not require undoing schema under pressure.
The official upgrade guide is the technical checklist for 12→13. This page is the owner-facing version: pin names, keep sessions, stage, then roll forward or back.
What moves with the framework
Packages have to resolve on the new Laravel version. PHP has to be 8.3+ for Laravel 13. Filament, Livewire and Inertia each have their own majors. Mix still needs Vite. Hosting and CI have to understand the new PHP binary before the release. All of that is in the audit.
How long it takes, and what drives the cost
There is no honest number that fits every Laravel app, so I do not publish one. Cost and calendar time move with:
- How many major Laravel versions you are behind
- The PHP jump onto 8.3+ for Laravel 13
- Whether money-path tests exist
- Abandoned packages
- Filament, Livewire or Inertia majors
- Mix versus Vite
- Hosting and CI maturity (Forge, VPS, cPanel, Vapor, containers)
- Whether features keep shipping during the hops
A Laravel 12 to 13 move is often small. Several majors behind with no tests is not. The paid written audit tells you which one you have.
Pricing is hourly or fixed-price, decided after we discuss the scope.
What you get
The default first step is a paid written audit after the scoping call. No price is published on this page.
Then, once we decide to proceed:
- Tests around your critical flows
- Each hop as its own reviewable pull request in your repository
- A supported Laravel release and a supported PHP version
- Maintained packages, with abandoned ones replaced or absorbed
- Handover notes covering what changed and what to watch
Proof: Laravel systems I've worked on
These are real systems, described the same way as on their case study pages:
- Farabi Clinics ERP. Bookings, insurance and pharmacy for a multi-branch clinic operation. I contributed substantially to both the legacy API and its V2 rewrite on Laravel 11, plus the Next.js admin dashboard.
- Multi-Tenant CRM (early stage). My own product on Laravel 12, Filament 4 and Stancl Tenancy, with isolated per-tenant databases.
- Momentum Engineering (in progress). A catalog and inquiry platform for a heavy-machinery trading business, which I'm building on Laravel 13 as owner and primary developer.
- School ERP. A multi-branch school system on Laravel with nwidart modules. I'm the sole developer of the current codebase.
I also worked on NitroTickets, where I was the sole developer on its rebuild from CodeIgniter into Laravel, migrating its production data.
Before our call: what to have ready
You do not need a perfect brief. This list is enough for a scoping call that can lead to a paid written audit:
- Current Laravel and PHP versions, if known
- Where it is hosted (VPS, Forge, cPanel, Vapor, or something else)
- Whether Composer and Git access can be shared later
- Critical flows: login, checkout, billing, reports, APIs
- Known abandoned packages, or the Filament / Livewire version
- Whether any tests exist
- Who still understands the money paths
Bring what you have. Gaps are part of what the audit is for.
You work with me directly
The person on the first call is the person who reads your code, writes the audit, does the upgrade and answers your messages. If I'm not the right person, I'll tell you.
The stack I work in is PHP, Laravel, CodeIgniter, Bootstrap, React, AngularJS, Node.js, MySQL and AWS. Hours are flexible, with overlap for UK, EU, US and AU working days — not a fixed schedule.
If you also need new features once the app is current, see hire a Laravel developer. If the upgrade touches payments, webhooks or other APIs, see API integrations. If the frontend needs work too, see hire a full-stack developer.
Book a scoping call
Have the checklist in Before our call ready, then book a scoping call. The usual first deliverable is a paid written audit. Pricing is hourly or fixed-price, decided after we discuss the scope.
Need a PHP version upgrade (PHP 7 to PHP 8.x) for a legacy system? See PHP version upgrade.
Frequently Asked Questions
Upgrade one major Laravel version at a time, with tests green at each step, rather than jumping straight to 13. Start by confirming PHP 8.3+ can run where the app is hosted, because Laravel 13 requires it. Before changing the framework, add tests around the flows that make money or cause support tickets if they break. Run `composer why-not` against the next target to find packages that block the upgrade, then update, replace or absorb them. On the Laravel 13 hop, pin your existing CACHE_PREFIX, REDIS_PREFIX and SESSION_COOKIE values and keep session serialization as `php` for the cutover so users are not logged out by a default rename. Deploy each hop through staging with a rollback path, restart queue workers, and keep database changes additive. Laravel 13 itself is a relatively small framework jump from 12; several majors behind with no tests is a different job, which is why a paid written audit comes first (price decided after the scoping call, not published on the page).
Laravel gives each major release 18 months of bug fixes and 2 years of security fixes. As of the official Laravel 13 release notes, Laravel 11's security fixes ended on 12 March 2026, Laravel 12's bug fixes ended on 13 August 2026 and its security fixes run until 24 February 2027, and Laravel 13 (released 17 March 2026) receives security fixes until 17 March 2028. Apps on Laravel 11 or older are already past framework security support.
It depends on the app, so the honest number comes after reading the code. The biggest drivers are how many major versions you are behind, the PHP jump, whether money-path tests exist, abandoned packages, admin-panel majors such as Filament or Livewire, the asset pipeline, and how mature staging and deploy rollback are. A Laravel 12 to 13 move is often small; a multi-version hop with no tests is not. Pricing is hourly or fixed-price, decided after we discuss the scope.
Book a scoping call. The usual first deliverable after that conversation is a paid written audit, so you know the size of the job before any code changes. No price is published on this page.
Upgrade when the app is still Laravel-shaped, the data model is sound and the product direction is stable. Rewrite only when the data model is wrong at the root, the product is pivoting away from most existing features, or the codebase is not really Laravel under the folder names. Many troubled apps land in the middle: get onto a supported Laravel release first, then modernize the painful modules behind a clear boundary so the business keeps earning throughout.
Not if the Laravel 13 hop is done carefully. Pin CACHE_PREFIX, REDIS_PREFIX and SESSION_COOKIE to the values the running app already uses, and keep session serialization as php for the cutover unless a planned re-login is acceptable. Skipping that is how a default rename logs everyone out and empties the cache.
Any Laravel version, including Laravel 5.x, 6, 7, 8, 9, 10, 11 and 12. Older apps move one major version at a time, with tests passing at each step, until they reach Laravel 13.
Usually, yes. Laravel 13 requires PHP 8.3 or newer, so on most older apps the PHP upgrade and the framework upgrade are planned together, and your server or hosting is prepared before the release.
The goal is no downtime. Each hop is tested on staging first, deployed through your existing hosting with a rollback path, and your database stays in place throughout. Users stay logged in when cache and session names are pinned and session serialization stays as php during the cutover.
Yes. Before changing the framework, I add tests around the flows that matter most. Abandoned packages are found in the audit and then updated, replaced, or brought into your codebase. Filament, Livewire and Inertia majors are part of the plan when your app uses them, along with a Mix to Vite move if the app still needs one.
Yes. The systems listed on this page — Farabi Clinics ERP, Multi-Tenant CRM, Momentum Engineering and School ERP — are the same apps described on the work pages.
For the scoping call: current Laravel and PHP versions if known, where the app is hosted, the critical flows, known abandoned packages or Filament/Livewire versions, whether any tests exist, and who still understands the money paths. Composer and Git access come later, for the paid written audit.
Ready to discuss your project?
Get in touch to talk about laravel upgrade to laravel 13, one safe step at a time for your business.