AIToday
AI Coding AssistantsZenn AI/MLPublished: Nov 28, 2026, 10:01 JST

PHP 8.2 security fixes end 2026-12-31; Rector and AI ease upgrades

Send on LINE
PHP 8.2 security fixes end 2026-12-31; Rector and AI ease upgrades

3 Key Points

  1. What happened

    A Zenn guide states PHP 8.2's security fixes end on 2026-12-31, roughly a month away, and Laravel 11 support already ended on 2026-03-12. Rector and rector-laravel are used to mechanically rewrite code, with AI agents fixing the rest.

  2. Why it matters

    The guide argues that patching individual vulnerabilities is not the real fix for unsupported versions. Upgrading to a supported release is the core task, and Rector with AI can handle most of the code rewrite.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The guide's starting point is that unsupported PHP and Laravel versions no longer receive security fixes, so patching individual vulnerabilities is beside the point—the real work is upgrading to a supported release. As of November 28, 2026, PHP 8.2 has about a month left before its security fixes end on 2026-12-31, and Laravel 11 support already ended on 2026-03-12.

The recommended workflow moves from checking versions and running composer audit to building a minimal test safety net, then applying Rector one major version at a time. Rector and rector-laravel handle mechanical rewrites, while AI agents are used to fix errors that surface when the application is run. The guide cautions that AI-generated diffs should be reviewed for fixes that suppress errors or loosen tests.

Not everything becomes easy: major library updates with large API changes, replacing abandoned packages, frontend work, and production server PHP updates remain difficult. PHP 8.6, released on November 19, is not yet listed in Laravel's official support table, and it deprecates mbstring regular-expression functions such as mb_ereg() and mb_split(), which systems handling Japanese text may still use.

FAQ
Which PHP versions still get security fixes?
According to the official information as of November 28, 2026, PHP 8.1 and earlier are past end of life. PHP 8.2 is supported through 2026-12-31, 8.3 through 2027-12-31, 8.4 through 2028-12-31, 8.5 through 2029-12-31, and 8.6 through 2030-12-31.
What tools does the guide recommend for upgrading Laravel?
The guide recommends Rector for mechanical code rewrites and the rector-laravel extension for Laravel-specific rules. It also suggests using AI agents like Claude Code or Codex to fix errors that Rector cannot handle.
What does the guide say is hard to automate?
The guide notes that major library updates with big API changes, replacing abandoned packages, frontend work (such as Vue 2, whose support ended in late 2023), and updating the production server's PHP are not easily handled by Rector and AI.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAI voices spur false police reports in US, NPR says