Deep dive into Symfony 6: the interview with Nicolas Grekas

· Jules Daunay · 2 minutes to read
Nicolas Grekas in a grey Symfony hoodie standing in front of the audience

To mark the release of Symfony 6, SensioLabs has interviewed Nicolas Grekas, one of the most active members of the Symfony core team. Grekas described the main new features of this latest major version of Symfony and how to start preparing for the upgrade.

Jules Daunay: What does the release of Symfony 6 mean for a developer?

Nicolas Grekas: Symfony 6 is essentially Symfony 5, with all the code deprecated for two years removed. There are no new features or major changes specific to version 6 since everything is already in Symfony 5.

Symfony 6 represents two years of efforts from the community and the core team on Symfony 5. With Symfony 6, a new cycle of innovations begins, one that will also last two years on a modernized codebase (PHP 8) that has been cleaned of past baggage. This version management system ensures Symfony’s stability. Thanks to it, users can handle upgrades at their own pace without having to rewrite everything.

JD: So, to run Symfony 6, you will have to install PHP 8?

NG: Yes, absolutely. The big news of Symfony 6 is that PHP 8.0 is now the minimum required version.

The code of Symfony 6 has been updated. You can take advantage of all the new features in PHP. For example, the code includes PHP 8 attributes, more expressive and rigorous type declarations, etc.

To install this new version of Symfony, you’ll have to upgrade your application to PHP 8.0 first.

JD: What else is new in Symfony 6?

There won’t be any real surprise for those who have been following the new features in Symfony 5.1, 5.2, and 5.3. Among these new components or improvements, you can find:

Uid for managing unique identifiers.

RateLimiter to limit the number of incorrect login attempts.

PasswordHasher, functionality in the security and authentication layer (a subsystem extracted from the Security component).

Translation Providers to provide an interface for incorporating online translation services.

Runtime to make the startup sequence of PHP applications and thus of Symfony applications more flexible.

Lastly, Symfony 6.0 offers a tighter integration of notification service providers. Many bridges have been introduced in the Notifier component (for sending SMS, chat messages, etc.).

JD: What are your tips to get ready for the upgrade?

NG: Here again, Symfony is about stability. My answer isn’t going to change much compared to what I said on Symfony 5. There are still two pillars to get ready for your upgrade.

The first pillar is the promise of backward compatibility, applicable within the same major version (Symfony 5.x). For example, all upgrades are seamless between Symfony 5.0, 5.1, 5.2, 5.3, and 5.4. Your application will keep working without any intervention, even after a Symfony upgrade.

The second pillar is the continuous migration path. It aligns with the project’s ambition: to make it as easy as possible to upgrade from one major version to another. Symfony provides a clear path to help you upgrade, primarily through deprecation notices. These guidelines enable developers to upgrade at a lower cost.

Thank you, Nicolas, for all this helpful information!

The best way to get into Symfony 6 is to register for the Symfony World Winter Edition 2021 conference. It will take place online on December 9-10th.

A Symfony 6: The Fast Track book will be released soon and available online. And if you want to support the Symfony project, you can also contribute by funding it. Thanks to the Symfony Backers program, you benefit from excellent visibility in the community, and you donate to a project that makes sense for your teams.

This might also interest you

Fabien Potencier
Elise Hamimi

SymfonyCon Amsterdam 2025: Our Recap and the Highlights

After an iconic first edition in 2019, SymfonyCon made its big comeback to Amsterdam. From the start, you could feel the energy of a highly anticipated conference: more than 1,200 attendees, 39 nationalities, the biggest Symfony community reunion of the year, great discoveries... and a fun atmosphere. This year was extra special because it was the 20th anniversary of Symfony. SensioLabs was there: we'll tell you all about our experience there!

Read more
The SensioLabs team celebrating the 20th anniversary of Symfony with balloons
Jules Daunay

The Story Continues: SensioLabs Celebrates Symfony's 20th Anniversary

Time flies, especially when you're busy shaping the future of development! The SensioLabs team has just reached a milestone with the anniversary of the Symfony framework. We marked the occasion at the office, but the party isn't over yet. The date is already set for an XXL celebration at SymfonyCon Amsterdam 2025, from November 27 to 28.

Read more
PHP 8.5 URI extension
Oskar Stark

PHP 8.5's New URI Extension: A Game-Changer for URL Parsing

PHP 8.5 introduces a powerful new URI extension that modernizes URL handling. With support for both RFC 3986 and WHATWG standards, the new Uri class provides immutable objects, fluent interfaces, and proper validation - addressing all the limitations of the legacy parse_url() function. This guide shows practical before/after examples and explains when to use each standard.

Read more
3 dog heads
Mathieu Santostefano

Bring Your Own HTTP client

Break free from rigid dependencies in your PHP SDKs. Learn how to use PSR-7, PSR-17, and PSR-18 standards along with php-http/discovery to allow users to bring their favorite HTTP client, whether it's Guzzle, Symfony HttpClient, or another. A must-read for PHP and Symfony developers.

Read more
Blue sign on a building with several Now What? letters
Thibaut Chieux

How To Prioritize Messages When Building Asynchronous Applications With Symfony Messenger

Asynchronous processing offers benefits like decoupled processes and faster response times, but managing message priorities can become a challenge. When dealing with tasks ranging from password resets to complex exports, ensuring timely delivery of critical messages is essential. This article explores common asynchronous processing issues and provides solutions using Symfony Messenger, allowing you to optimize your application without extensive refactoring.

Read more
SensioLabs University Courses announcing the new level 3 Master training course now available
Jules Daunay

Master Symfony: Unlock Expert Skills with Our Training

Take your Symfony proficiency from good to great with the new Level 3 training course at SensioLabs! Master complex topics, optimize performance, and become a Symfony expert.

Read more
PHP 8.5
Oskar Stark

What's New in PHP 8.5: A Comprehensive Overview

PHP 8.5 will be released in November 2025 and brings several useful new features and improvements. This version focuses on developer experience enhancements, new utility functions, and better debugging capabilities.

Read more
Two images: on the left many cars stuck in a traffic jam with the sign "All directions" above, on the right a blue car moving forward alone on the highway with the sign "Service Subscriber" and a Symfony logo above
Steven Renaux

Symfony Lazy Services with Style: Boost DX using Service Subscribers

Boost your Symfony app's performance and developer experience! Learn how to use Service Subscribers and traits for lazy service loading to reduce eager instantiation, simplify dependencies, and create modular, maintainable code.

Read more
Image