Rorix Technologies
Software Strategy16 min read

PHP 8.2 and Laravel End of Support: What to Do With a Business App

PHP 8.2 loses security support on 31 December 2026, and Laravel 12 on 24 February 2027. What it means for a business app, the ways out and what they cost.

PHPLaravelEnd of SupportModernizationMigration
PHP 8.2 and Laravel End of Support: What to Do With a Business App
On this page19 sections

PHP 8.2 loses all security support on 31 December 2026. If your business application runs on it, nothing stops working that day; what stops is the stream of security fixes from the PHP project, and every new vulnerability found after that stays open. Laravel has its own dates on top: Laravel 11 lost security fixes on 12 March 2026, and Laravel 12 loses them on 24 February 2027.

The two calendars do not line up, and that is the part most guides miss. Laravel 12 still supports PHP 8.2, so a Laravel 12 application on PHP 8.2 loses its PHP patches about eight weeks before Laravel's own support ends. This guide is for the owner or IT lead who has to decide what to do: the dates from the projects themselves, the four ways out, what an upgrade involves, and what it costs by the published figures. Where Rorix comes in, it is through our legacy application modernization service.

Key Takeaways: PHP 8.2 and Laravel Support in Brief

  • PHP 8.2 ends on 31 December 2026. After that, php.net releases no more security fixes for it. PHP 8.1 already ended on 31 December 2025.
  • Laravel 11 has already ended, on 12 March 2026. Laravel 12 ends on 24 February 2027.
  • There is an eight-week gap. Laravel 12 runs on PHP 8.2, but PHP 8.2's support ends first.
  • The safe target is Laravel 13 on PHP 8.3, 8.4 or 8.5. Laravel 13 needs PHP 8.3 at least and has security fixes until 17 March 2028.
  • Your server vendor may already patch PHP. Red Hat and Debian keep fixing their own packaged PHP 8.2 for years, but only if the server runs that package.
  • Costs vary by what is measured. A clean framework bump can take minutes; a small business application one or two versions behind costs $2,000 to $6,000 at offshore rates, by one agency's published figures.

When Does PHP 8.2 Support End?

PHP 8.2's security support ends on 31 December 2026. The PHP project gives every version two years of full support and then two years of security fixes only, so the end date is known in advance. After it, the version is end of life: php.net publishes no more fixes of any kind for it.

The PHP supported versions page sets out the policy: "Each release branch of PHP is fully supported for two years from its initial stable release." Then: "After this two year period of active support, each branch is then supported for two additional years for critical security issues only." Its definition of end of life is blunt: "A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities."

PHP VersionReleasedActive Support UntilSecurity Fixes Until
PHP 8.125 November 2021Ended31 December 2025 (ended)
PHP 8.28 December 202231 December 202431 December 2026
PHP 8.323 November 202331 December 202531 December 2027
PHP 8.421 November 202431 December 202631 December 2028
PHP 8.520 November 202531 December 202731 December 2029
PHP 8.619 November 202631 December 202831 December 2030

Source: php.net supported versions, end-of-life branches and, for PHP 8.1's release date, php.net's release list, read 30 Nov 2026.

PHP 8.6 came out on 19 November 2026. Laravel's release notes do not list it yet for Laravel 12 or 13, so it is not a target for a Laravel application today.

What Are Laravel's Support Dates?

Every Laravel version gets 18 months of bug fixes and two years of security fixes from its release, and a new major version arrives about once a year. Laravel 11's security fixes ended on 12 March 2026, Laravel 12's end on 24 February 2027, and Laravel 13, released in March 2026, is covered until 17 March 2028.

Laravel's release notes state the policy: "For all Laravel releases, bug fixes are provided for 18 months and security fixes are provided for 2 years." They also list which PHP versions each Laravel version supports.

Laravel VersionPHP VersionsReleasedBug Fixes UntilSecurity Fixes Until
Laravel 108.1 to 8.314 February 20236 August 20244 February 2025 (ended)
Laravel 118.2 to 8.412 March 20243 September 202512 March 2026 (ended)
Laravel 128.2 to 8.524 February 202513 August 202624 February 2027
Laravel 138.3 to 8.517 March 2026Q3 202717 March 2028

Source: Laravel 13.x release notes, read 30 Nov 2026.

The Eight-Week Gap Between PHP 8.2 and Laravel 12

A Laravel 12 application can still run on PHP 8.2, and many do, because Laravel 12 allowed it from day one. But PHP 8.2 loses security fixes on 31 December 2026, while Laravel 12 keeps getting them until 24 February 2027. For those eight weeks the framework is patched and the language under it is not.

The way to close the gap is to move PHP before the framework date forces anything. Laravel 12 supports PHP 8.3, 8.4 and 8.5, so the PHP version can change first, with the framework staying where it is. Laravel 13 then follows on its own schedule: its release notes say "Laravel 13.x requires a minimum PHP version of 8.3", so a team already on PHP 8.3, 8.4 or 8.5 has nothing to change on the PHP side when it moves.

A Laravel 11 application is in a worse position. Laravel 11's security fixes ended in March 2026, so it is already unpatched at the framework level, whatever PHP version it runs on.

How Do You Check What Your Application Runs?

Two numbers decide where you stand: the PHP version on the server and the Laravel version in the project. Both take a minute to read, and both should be checked on every server, because a staging box and a production box are often not on the same PHP version.

  • PHP version: run php -v on the server, or ask your host. Check the version the web server actually uses, which on shared or managed hosting can differ from the command line.
  • Laravel version: run php artisan --version in the project, or look for laravel/framework in the project's composer.lock file.
  • Where PHP came from: note whether the server uses PHP from the operating system's own packages (Red Hat, Debian or Ubuntu) or from another source. That decides whether the second way out below applies.

The Four Ways Out

Upgrading is the default, and for most applications the only one that lasts. The others buy time: the Linux vendor's own PHP packages, if the server already uses them; paid extended support from a PHP specialist; or staying where you are, as a written decision with a date. Each has a cost and a limit.

Way OutWhat It MeansThe Limit
UpgradeMove PHP to a version your Laravel version lists (8.3 or 8.4 on Laravel 11; 8.3, 8.4 or 8.5 on Laravel 12), then Laravel to 13The work itself; see the costs below
The Linux vendor's PHPRed Hat patches its PHP 8.2 to May 2029; Debian 12's PHP 8.2 is covered by Debian LTS to 30 June 2028Only if the server runs the vendor's packaged PHP, and the Laravel date still applies
Paid extended supportZend, TuxCare and HeroDevs sell security fixes for PHP versions past end of lifeNone of them publishes a price
StayAccept the risk for a set timeOnly for an application being retired soon, written down with a date

The Linux vendor's PHP. Operating system vendors keep patching the PHP packages they ship for a period each vendor publishes, often well past php.net's date. Red Hat's Application Streams life cycle lists PHP 8.2 on RHEL 8 and RHEL 9 until May 2029. The Debian LTS project covers Debian 12, which ships PHP 8.2, until 30 June 2028. Ubuntu security-maintains packages in its Main repository for five years, but no Ubuntu LTS release ships PHP 8.2; Ubuntu 24.04 ships PHP 8.3. None of this helps a server that installed PHP from somewhere else, and none of it changes the Laravel 11 or 12 dates.

Paid extended support. Zend says its PHP LTS "extends the lifespan of PHP versions by at least 2 years". TuxCare says "We support PHP 5.2 through 8.5 on Linux and Windows". HeroDevs says its coverage for PHP 8.2 continues past its 31 December 2026 end of life. None of the three publishes a price on the pages we read, so the price has to come from them. These are vendors selling the service.

What Does a PHP and Laravel Upgrade Involve?

For PHP, it means running the application on a newer version and fixing what breaks. For Laravel, it means following the framework's upgrade guide one major version at a time. The framework step can be quick; the time goes into the application's own code, its packages and its tests, which is why published effort figures range from minutes to months.

PHP's breaking changes. php.net lists what changes between versions. Going from 8.2 to 8.3, for example, "The range() function has had various changes". Going from 8.3 to 8.4, "The E_STRICT error level has been removed" and "The round() function now validates the value of the mode and throw a ValueError for invalid modes". Most applications meet only a few of these, but finding which ones takes a test run.

Laravel's upgrade guide. The Laravel 12 to 13 upgrade guide gives an "Estimated Upgrade Time: 10 Minutes". It also warns that switching session serialization to JSON "will invalidate all active user sessions", the kind of detail that matters on a live system with signed-in customers.

Tools. Laravel Shift automates Laravel upgrades for a one-off fee per version, $29 for the Laravel 12 Shift and $19 for the Laravel 13 Shift at its published prices, with subscription plans from $99 a year per repository. Rector, a free tool under the MIT license, automates PHP code changes and describes itself as "Instant Upgrades and Automated Refactoring of any PHP 5.3+ code". Both do the mechanical part; neither tests your business rules.

What Does a PHP or Laravel Upgrade Cost?

Published figures run from a few thousand to tens of thousands, depending on the version gap, the size of the application and the market the team works in. The three sources below each state their basis, and their currencies are kept as published. In the two Laravel sources, the bottom of the range is a small application one or two versions behind (Acquaint Softtech) or a single-version upgrade (Rocking Tech); the Australian figures price a PHP jump of several versions.

SourceLower FigureHigher FigureBasis
Acquaint Softtech (3 Apr 2026)$2,000 to $6,000, 2 to 4 weeks (small app, 1 to 2 versions)$14,000 to $30,000 (medium SaaS, 3 to 4 versions); $25,000 to $70,000+ (large enterprise)Offshore senior developer rates
Rocking Tech (13 Apr 2026)£1,750 to £4,500 contractor, £3,000 to £12,000 agency, 5 to 10 days (one version, small to mid-sized app)£12,000 to £40,000 agency for several versions; £24,000 to £60,000+ agency for complex onesUK contractor day rates and agency hourly rates, the author's estimates
Cipher Projects (7 Jul 2026)AUD 15,000 to 45,000, 4 to 8 weeks (a PHP 7.4 to 8.3 or 8.4 jump for a well-structured Laravel or Symfony app)AUD 15,000 to 70,000, 4 to 10 weeks (its whole range for an in-place PHP version upgrade)Sydney and Melbourne senior day rates of AUD 950 to 1,200

These ranges sit inside the ones in our application modernization cost guide, which uses Acquaint Softtech's figures for Laravel. All three sources are firms that sell this work.

Why "10 minutes" and "2 to 4 weeks" are both true. Laravel's estimate covers the framework change itself. Rocking Tech notes that a Laravel 12 to 13 move is "hours of work, not weeks". The agency figures price a real business application: its packages, its custom code, its tests and a safe release. The further behind an application is, the more of that work stacks up.

Waiting raises the price. Acquaint Softtech reports one client whose upgrade would have cost $8,000 eight months earlier and cost $26,000 by the time it was forced. One case, not a rule, but every skipped version adds breaking changes to absorb at once. Keeping versions current is part of the yearly upkeep our software maintenance cost guide prices.

A Plan Before 31 December 2026

  1. Read the PHP and Laravel versions on every server, staging and production alike.
  2. Mark every application on PHP 8.2 or older, and every one on Laravel 11 or older.
  3. Check where PHP comes from. If it is the Linux vendor's package, note the vendor's own end date.
  4. Move PHP first, to a version your Laravel version lists: 8.3, 8.4 or 8.5 on Laravel 12, and 8.3 or 8.4 on Laravel 11; test before release.
  5. Then move to Laravel 13 before 24 February 2027, one major version at a time, with the tests run at each step.
  6. For anything you leave as it is, write the decision down with a date and a reason.

How Rorix Helps With PHP and Laravel Applications

We work on the application, not the servers: infrastructure and DevOps stay with your team. For a PHP or Laravel application, that means the audit, the version moves and the testing, or a wider modernization when the application has outgrown its framework. Our Laravel development page covers the stack, and our legacy application modernization guide explains how we decide between upgrading, rebuilding and replacing.

Version upgrades we have run on live systems include Angular 7 to Angular 17 and .NET Core 2.1 to .NET 8 for an AgTech platform for a Pacific Northwest company, .NET Core 2.1 to .NET 9 for Lorecs, and Angular 14 to Angular 21 for DealSignal. Our .NET 8 and .NET 9 end-of-support guide and .NET Framework 4.6.2 end-of-support guide cover the same kind of deadline on Microsoft's stack. The method is the same for PHP and Laravel: audit first, one version at a time, tested at each step, with the old and new builds side by side until the move is proven.

Rorix Technologies has delivered 27 software projects for clients in the US, UK, Canada, Australia, and New Zealand and holds a 5.0 rating on Clutch across 4 verified reviews.

Conclusion: Move PHP First, Then Laravel

The dates are fixed and close: PHP 8.2 on 31 December 2026, Laravel 12 on 24 February 2027, and Laravel 11 already past. The order that works is PHP first, to 8.3 or a later version your Laravel version lists, then Laravel 13, with a test pass at each step.

If the server runs the Linux vendor's PHP, check the vendor's date before you plan anything, because it may give you more time on the PHP side. It gives none on the Laravel side.

Running a business application on PHP 8.2 or an older Laravel? Get a modernization plan and we will map your versions against their support dates.

Frequently Asked Questions

When does PHP 8.2 reach end of life?

On 31 December 2026, when its security support ends. After that date php.net releases no more fixes for it. PHP 8.3's security support runs to 31 December 2027 and PHP 8.4's to 31 December 2028.

When does Laravel 12 support end?

Laravel 12's security fixes end on 24 February 2027; its bug fixes ended on 13 August 2026. Laravel 11's security fixes ended on 12 March 2026, and Laravel 13's run until 17 March 2028.

Can I run Laravel 12 on PHP 8.2 after 31 December 2026?

It will keep running, but PHP 8.2 will get no more security fixes from php.net, even though Laravel 12 is still supported until 24 February 2027. Moving to PHP 8.3, 8.4 or 8.5, which Laravel 12 supports, closes that gap.

Does Laravel 13 need PHP 8.3?

Yes. Laravel's release notes say "Laravel 13.x requires a minimum PHP version of 8.3", and Laravel 13 supports PHP 8.3 to 8.5.

Can I keep using PHP 8.2 after its end of life?

Only with a source of security fixes. Red Hat patches its packaged PHP 8.2 until May 2029 and Debian LTS covers Debian 12's PHP 8.2 until 30 June 2028, if the server uses those packages. Zend, TuxCare and HeroDevs sell paid extended support, at prices they do not publish.

How much does a Laravel upgrade cost?

By published agency figures, a small application one or two versions behind costs $2,000 to $6,000 at offshore rates (Acquaint Softtech), and a single-version upgrade costs £3,000 to £12,000 at UK agency rates (Rocking Tech). Larger or older applications run from $14,000 to $70,000 or more (Acquaint Softtech). Both sources sell the work.

How long does a Laravel upgrade take?

Laravel's upgrade guide estimates 10 minutes for the 12 to 13 framework change. Agencies price a small to mid-sized application at 5 to 10 days for one version (Rocking Tech), and a small one at 2 to 4 weeks for one or two versions (Acquaint Softtech), because the time goes into packages, custom code and tests.

Work with Rorix

Sitting on a system nobody wants to touch?

We rebuild running software without stopping the business that depends on it. Send us the stack and the failure mode you are living with.

Written by

Founder & Director, Rorix Technologies

Ankur co-founded Rorix Technologies with a mission to deliver enterprise-grade software that growing businesses can actually afford. He drives technical project delivery and client success end-to-end, overseeing product strategy, client partnerships, and the company's long-term vision to ensure every engagement delivers measurable business outcomes across WMS, HRMS, and custom software verticals.

View full profile

Related articles