PHP and Symfony in November 2026: PHP 8.6, Symfony 8.2, lots of security updates and the end of the year
November brings two major releases and two rounds of security updates, while the end-of-support dates at the turn of the year are getting close. Here is the overview and what it means for existing projects.
Security: two rounds of updates
- PHP: 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were released on 19 November with 17 fixes, seven of them critical. PHP-FPM with reused FastCGI connections and sessions with upload progress are most at risk. Details in a separate post.
- Symfony: 21 advisories on 4 November, among others for Serializer, HttpClient, Yaml and Security, fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11. Details in a separate post.
- Composer 2.11 fixes several security issues. Among them, HTTP headers of inline repositories, such as API tokens, ended up in composer.lock. Running composer self-update is worth it.
PHP 8.6 is out
PHP 8.6.0 was released on 19 November as planned. Active support runs until the end of 2028, security fixes until the end of 2030. The main additions:
- Partial function application: pre-fill a function with some of its arguments
- Default values for readonly properties
- clamp() limits a value to a range
- The new Time\Duration class and the SortDirection enum
- Io\Poll, a new API for monitoring streams
For existing projects the usual order applies: dependencies first, then your own application. An extra CI job on 8.6 shows problems early. In production, switching usually pays off once the first patch releases are out.
Symfony 8.2 is close
Symfony 8.2 has been available as BETA2 since 13 November, and the final release is planned for the end of November. 8.2 is maintained until July 2027. From the “New in Symfony 8.2” series:
- Messenger flows: describe processes made of several messages when dispatching the first one, instead of spreading the steps across handlers
- An HTTP recorder for tests that records real API responses once and replays them afterwards
- Forms that derive field types from the PHP types of DTOs
- Cross-application messaging, compiled expressions and improvements to routing, Validator, Lock and translations
Also: Symfony UX 3.7 adds UX CSS, an experimental package for typed utility classes in Twig, and since 17 November Symfony assigns CVE IDs for its own vulnerabilities as a CVE Numbering Authority. Advisories now get a CVE ID on the day they are published.
Composer 2.11 and Doctrine ORM 3.8
- Composer 2.11 adds a cooldown policy: newly published package versions are only installed after a configurable period, which reduces the risk from compromised releases. composer audit --direct now checks direct dependencies only.
- Doctrine ORM 3.8 speeds up hydration, skips updates when date and object values have not actually changed and accepts SortDirection in findBy(). The release includes some BC breaks, among them a new dependency on the doctrine/orm-plugin-second-level-cache package. Read the release notes before updating.
End of support at the turn of the year
- 30 November 2026: Symfony 6.4 moves to security fixes only (until November 2027).
- 31 December 2026: PHP 8.2 stops receiving security fixes.
- 31 December 2026: PHP 8.4 moves to security fixes only (until the end of 2028).
- 31 January 2027: Symfony 8.1 reaches end of life.
What it means for existing projects
- Security updates first: install the PHP patch release, restart workers, run composer update "symfony/*".
- PHP 8.2 has six weeks left. If moving to 8.3 or 8.4 is no longer realistic this year, at least have a plan and a date for the migration.
- Symfony 8.0 already gets no fixes, 8.1 only until the end of January. Time to move to 8.2, or deliberately back to 7.4 LTS.
- On Symfony 6.4, now is a good moment to plan the move to 7.4 LTS. There is no rush, but deprecations can be worked through calmly now.
Sources
- php.net: PHP 8.6.0 released
- php.net: PHP 8.6 release page
- Symfony blog: Symfony 8.2.0-BETA2
- Symfony blog: New in Symfony 8.2
- Symfony blog: Symfony is now a CVE Numbering Authority
- Symfony blog: Symfony UX 3.7
- Packagist blog: Composer 2.11
- Doctrine ORM 3.8.0 release notes
- Symfony: releases and support periods
Related services: Symfony upgrade PHP migration Symfony maintenance