Maintenance

How to upgrade PHP, Laravel, React, Angular and Node.js before support ends

Check current support dates for PHP, Laravel, React, Angular and Node.js. Plan, test and schedule upgrades before your application loses security support.

Why support dates matter

An application can keep running after PHP, Laravel, React, Angular or Node.js falls out of support. The difference shows up when the project stops releasing fixes and your team has to deal with new vulnerabilities or bugs itself.

Hosting providers can retire runtimes on their own schedules. Libraries may require a newer framework before you can install a fix. Before any of these changes forces an upgrade, identify which version to move to, what you will test and how you will recover if the deployment fails.

How the projects provide support

PHP gives each branch two years of full support from its first stable release, followed by two years of fixes for critical security issues. Laravel gives each major version 18 months of bug fixes and two years of security fixes.

Angular typically provides 12 months of active support, then 12 months of long-term support (LTS) for critical fixes and security patches. Starting with version 22, major releases moved from a six-month to a 12-month cycle.

Node.js recommends Active LTS or Maintenance LTS for production. Critical fixes on LTS lines typically continue for a total of 30 months. Starting with Node.js 27, each major version follows an annual release cycle and reaches LTS after six months in Alpha and six in Current.

React does not publish end-of-life dates. Its policy says the team backports security fixes to affected major versions when it learns of a vulnerability. Check whether the routers, form libraries and UI components you use still support your React version.

Support status on 3 December 2026

Check the official schedules again before setting your upgrade dates. The last column shows the end of upstream support for each version, or what the project currently publishes about it.

TechnologyVersionStatusSupport ends
PHP8.2Security fixes only31 December 2026
PHP8.3Security fixes only31 December 2027
PHP8.4Active support through 31 December 202631 December 2028
PHP8.5Active support through 31 December 202731 December 2029
PHP8.6Active support through 31 December 202831 December 2030
Laravel11End of lifeSecurity fixes ended 12 March 2026
Laravel12Security fixes only24 February 2027
Laravel13Bug and security fixesBug fixes through Q3 2027. Security fixes through 17 March 2028.
Angular20End of lifeSupport has ended
Angular21LTSJune 2027
Angular22Active support through June 2027June 2028
Node.js22 (Jod)Maintenance LTS30 April 2027
Node.js24 (Krypton)Maintenance LTS30 April 2028
Node.js26 (Lithium)Active LTS30 April 2029
React19Current major versionNo date published

PHP 8.1 and earlier, Angular 2 through 20, and Node.js 20 and earlier are out of upstream support. Laravel 13 lists PHP 8.3 through 8.5 as supported. Check this range before choosing a PHP version for the upgrade.

Selected support deadlines through April 2028

  1. Security fixes for PHP 8.2 end
  2. Security fixes for Laravel 12 end
  3. Support for Node.js 22 ends
  4. Long-term support for Angular 21 ends
  5. Security fixes for PHP 8.3 end
  6. Support for Node.js 24 ends
Dates from the projects' published schedules, checked on 3 December 2026.

Inventory the versions you run

Ask your team for the versions in production, staging and the build pipeline. Include the operating system, database, third-party libraries and extensions. For PHP, php -v shows the version used by the command line. Confirm the version that serves web requests too. For Node.js, compare .nvmrc, the Dockerfile and the pipeline configuration with what the build and application actually run.

composer.json and package.json declare allowed ranges. composer.lock, package-lock.json and equivalent lock files record exact package versions for a reproducible install. Confirm that the deployed application matches its lock files. If your operating system vendor distributes PHP or Node.js, check whether it provides backported fixes and when that support ends.

Upgrade in steps you can test

Read every migration guide between the installed and target versions. Break the work into steps you can build, test and roll back. Angular requires one major version at a time with ng update.

For React, start by moving from 18.2 to 18.3 and resolving the warnings before installing 19. The React 19 upgrade guide covers removed APIs such as ReactDOM.render and string refs. React 19 also ignores propTypes checks on function components. The guide lists codemods that can update some of these patterns.

For Laravel, the Laravel 13 upgrade guide estimates 10 minutes for the framework changes from 12.x. Allow time to check your packages, configuration and application flows. Laravel renamed the CSRF middleware to PreventRequestForgery. A site that uses the framework's fallback session cookie name may see it change, which can sign users out. Test both before deployment.

Upgrade Laravel 12 on PHP 8.2

  1. Add testsCover login, payments, key reports and integrations
  2. Upgrade PHPChoose an overlap such as PHP 8.5 if your hosting and packages support it
  3. Update packagesResolve third-party compatibility with Laravel 13
  4. Upgrade LaravelApply the 12.x to 13.x guide and verify configuration
  5. Clean upRemove deprecated calls and obsolete workarounds
Test each step separately. If you deploy the PHP upgrade first, monitor it before upgrading Laravel.

When moving from one Node.js LTS line to another, check native modules and build tools for compatibility. Run the build and exercise the application on staging with the target runtime before changing production.

Prepare tests and recovery

Cover the workflows people rely on first. Start with login and permissions, payments, orders or form submissions, key reports and integrations. Run a short test after each release and use error tracking to spot failures early.

Check whether the previous application release can still run against the upgraded database. Take a fresh backup before a production change and rehearse recovery. If a restore would remove transactions made after the backup, plan how you will recover or reconcile them.

Check dependencies before committing to a date

  • Unmaintained libraries. Replace them, or confirm the license and effort before taking ownership of their code.
  • Commercial components. Check whether UI kits, admin tools or reporting software need a new license or paid upgrade.
  • Extensions and native modules. Confirm that compiled dependencies work with the new runtime.
  • Changes to vendor code. Find edits inside vendor or node_modules before a fresh install overwrites them.

Record each dependency that blocks the upgrade and what it will take to fix or replace it. Use that list to estimate the work.

Review support dates each quarter

Aim to keep at least 12 months of support remaining for your runtimes and frameworks. Review the inventory each quarter. When support drops below a year, schedule the upgrade and budget for it. See our guide to software maintenance budgets.

How soon should you upgrade?

What support does your current version have?

  • Out of supportPlan the upgrade now as security work
  • Security fixes onlySchedule it before the published end date
  • Active supportPick a supported target and allow time to test
  • React with no published end dateTrack support from the libraries you depend on
Check provider deadlines as well as the project's published dates.

If upgrades keep stalling, record why. Our guide to technical debt for business owners explains how to track the cost of missing tests, coupled code and dependencies that no one can update.

When an upgrade needs a larger migration

If you are several major versions behind, compare an in-place upgrade with replacing one part at a time. An old PHP 7 application may need code changes beyond package updates. AngularJS (version 1) is a different framework from modern Angular, so moving to Angular involves migrating the front end.

You can keep the old application running while replacements take over in stages. Our guide to modernizing legacy software with the strangler fig approach explains how to manage that transition.

Our maintenance and improvement service covers dependency reviews and planned upgrades. Contact us if you need help choosing an upgrade path.

Questions buyers ask

What happens when a version reaches end of life?

The application may still run, but the project stops publishing fixes for that version. Hosting providers, libraries and build tools may also drop support. Check whether your vendor maintains a separate patch schedule.

How long does it take to upgrade Laravel 12 to 13?

Laravel estimates 10 minutes for the framework changes. Time for your application depends on the PHP version, third-party packages and tests. Laravel 13 lists PHP 8.3 through 8.5 as supported.

Can we skip major versions?

You can often move directly between supported PHP or Node.js versions after reading the intervening migration guides and checking dependencies. Angular requires one major version at a time with ng update.

Has React announced an end-of-life date for React 18?

React has no published end date for React 18. Its versioning policy provides for backported fixes to affected major versions when the team learns of a security vulnerability. Your libraries may set an earlier practical deadline.

Sources

  1. PHP supported versions
  2. Laravel 13 release notes and support policy
  3. Laravel 13 upgrade guide
  4. React versioning policy
  5. React 19 upgrade guide
  6. Angular versions and releases
  7. Node.js releases
  8. Node.js release schedule

Your next chapter

Let’s build
something useful.

A product to launch. A system to improve.
An idea worth exploring. Start with a conversation.