Stable Release in branch 6.4 (LTS)
6.4.43
Released 29 Jul 2026
(9 days ago)
SoftwareSymfony
Version6.4 (LTS)
StatusLTS
Supported
Supported
PHP versions
PHP ≥ 8.1.0
Initial release6.4.0
29 Nov 2023
(2 years ago)
Latest release6.4.43
29 Jul 2026
(9 days ago)
End of bug fixesNov 2026
(Ends in 3 months)
End of security fixesNov 2027
(Ends in 1 year, 3 months)
Release noteshttps://github.com/symfony/symfony/releases/tag/v6.4.43
Source codehttps://github.com/symfony/symfony/tree/v6.4.43
Documentationhttps://symfony.com/doc/current/index.html
Downloadhttps://symfony.com/download
Symfony 6.4 (LTS) ReleasesView full list

What Is New in Symfony 6.4

Symfony 6.4 brings a host of refinements and new capabilities to the framework, focusing on developer experience and modern PHP practices. This release introduces several new features, marks the deprecation of some older patterns, and includes numerous improvements and bug fixes to keep your applications running smoothly.

Category Key Highlights
New Features PDO Session Handler, HtmlSanitizer Component, Notifier push channels, improved Messenger, Clock component integration, new HttpClient retry strategies.
Improvements Better UX for translations, profiler updates for Mailer and Cache, Symfony CLI Docker support, Serializer performance, new Form theme fragments.
Deprecations Legacy session handlers, some Container and Config methods, old uglifyjs filter, certain DoctrineBridge and Form features.
Bug Fixes Various fixes across the Form, Mailer, Messenger, Routing, Security, and Serializer components.

What new components and tools were added?

Symfony 6.4 ships with two brand-new components. The HtmlSanitizer component provides a secure way to clean and sanitize HTML input, which is a common requirement for user-generated content. The Clock component becomes a first-class citizen, offering a time abstraction that makes testing time-dependent code much simpler.

For session management, a new PdoSessionHandler is introduced, offering a robust, database-backed session storage solution out of the box. The Notifier component expands its reach with support for push channels, enabling native mobile and web push notifications.

How does Symfony 6.4 improve the developer workflow?

Several enhancements directly impact day-to-day development. The translation commands get a UX overhaul, making it easier to manage missing translations. The Symfony Profiler receives updates for the Mailer and Cache panels, giving you deeper insights into email sending and cache operations.

The Symfony CLI now includes improved support for Docker, streamlining local project setup. For frontend integration, new Twig theme fragments for Form rendering offer more flexibility and control over your form layouts.

What has been upgraded in the HttpClient and Messenger?

The HttpClient component gains powerful new retry strategies, allowing you to define custom logic for retrying failed HTTP requests based on status codes, headers, or response content. This is invaluable for building resilient integrations with external APIs.

Messenger sees practical additions like the ability to list and describe available messages and handlers via a new command. It also improves the handling of stamps when messages are retried, giving you more control over the flow of your async operations.

What deprecated features should developers be aware of?

This release continues the framework's evolution by deprecating older patterns. Legacy session handlers are marked for removal, steering developers towards the newer, more efficient handlers. Several methods in the DependencyInjection and Config components are also deprecated in favor of more explicit alternatives.

In the Form component, the format option for Date/Time types is deprecated, encouraging the use of html5 format or custom widgets. The old uglifyjs filter in AssetMapper is deprecated, with Terser being the recommended replacement for JavaScript minification.

FAQ

Is the new HtmlSanitizer component ready for production use?
Yes, the HtmlSanitizer component introduced in 6.4 is stable and production-ready. It provides a secure, extensible way to sanitize HTML from untrusted sources, which is a common security need in web applications.

How do the HttpClient retry strategies work?
You can now implement the RetryStrategyInterface to create custom retry logic. The component can retry a request based not just on HTTP codes, but also by inspecting the response's headers or body, giving you fine-grained control over transient failures.

What is the main benefit of the Clock component integration?
Using the Clock component (now a core part of Symfony) makes your code more testable. By injecting a clock instance, you can easily mock time in your unit tests, eliminating flaky tests that depend on the system's actual time.

What should I use instead of the deprecated legacy session handlers?
You should migrate to the newer session handlers like NativeFileSessionHandler, PdoSessionHandler, or RedisSessionHandler. These are more efficient and better supported in the long term.

Are there any changes to the way translations are managed?
The main change is in the developer experience. Commands like debug:translation and translation:extract have improved output formats, making it clearer to identify missing or unused translations in your project.

Releases In Branch 6.4 (LTS)

VersionRelease date
6.4.4329 Jul 2026
(9 days ago)
6.4.4227 Jun 2026
(1 month ago)
6.4.4127 May 2026
(2 months ago)
6.4.4020 May 2026
(2 months ago)
6.4.3913 May 2026
(2 months ago)
6.4.3806 May 2026
(3 months ago)
6.4.3701 May 2026
(3 months ago)
6.4.3631 Mar 2026
(4 months ago)
6.4.3506 Mar 2026
(5 months ago)
6.4.3426 Feb 2026
(5 months ago)
6.4.3328 Jan 2026
(6 months ago)
6.4.3225 Jan 2026
(6 months ago)
6.4.3131 Dec 2025
(7 months ago)
6.4.3007 Dec 2025
(8 months ago)
6.4.2912 Nov 2025
(8 months ago)
6.4.2806 Nov 2025
(9 months ago)
6.4.2728 Oct 2025
(9 months ago)
6.4.2627 Sep 2025
(10 months ago)
6.4.2529 Aug 2025
(11 months ago)
6.4.2431 Jul 2025
(1 year ago)
6.4.2328 Jun 2025
(1 year ago)
6.4.2229 May 2025
(1 year ago)
6.4.2102 May 2025
(1 year ago)
6.4.2028 Mar 2025
(1 year ago)
6.4.1926 Feb 2025
(1 year ago)
6.4.1829 Jan 2025
(1 year ago)
6.4.1731 Dec 2024
(1 year ago)
6.4.1627 Nov 2024
(1 year ago)
6.4.1513 Nov 2024
(1 year ago)
6.4.1406 Nov 2024
(1 year ago)
6.4.1327 Oct 2024
(1 year ago)
6.4.1221 Sep 2024
(1 year ago)
6.4.1130 Aug 2024
(1 year ago)
6.4.1026 Jul 2024
(2 years ago)
6.4.928 Jun 2024
(2 years ago)
6.4.802 Jun 2024
(2 years ago)
6.4.729 Apr 2024
(2 years ago)
6.4.603 Apr 2024
(2 years ago)
6.4.504 Mar 2024
(2 years ago)
6.4.427 Feb 2024
(2 years ago)
6.4.331 Jan 2024
(2 years ago)
6.4.230 Dec 2023
(2 years ago)
6.4.101 Dec 2023
(2 years ago)
6.4.029 Nov 2023
(2 years ago)
6.4.0-RC226 Nov 2023
(2 years ago)
6.4.0-RC115 Nov 2023
(2 years ago)
6.4.0-BETA310 Nov 2023
(2 years ago)
6.4.0-BETA229 Oct 2023
(2 years ago)
6.4.0-BETA121 Oct 2023
(2 years ago)