Special Anniversary Black Friday: Get 30% off all training and 10% off all services Get a Quote


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

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
the surface of the earth seen from the space with city lights forming networks
Imen Ezzine

HTTP Verbs: Your Ultimate Guide

HTTP Verbs Explained: Learn the basics of GET, POST, PUT, DELETE, and more. This article explains how they work, their applications, and their security implications.

Read more
Poster of Guillaume Loulier presentation
Salsabile El-Khatouri

A Symfony Training at SensioLabs: Behind The Scenes

What does Symfony training at SensioLabs look like? Find out in this interview with Guillaume Loulier, a passionate developer and trainer, who tells us all about the official Symfony training courses.

Read more
Photo de groupe devant le stand SFLIVE PARIS
Elise Hamimi

SymfonyLive Paris 2025: talks, community and 20 years of Symfony

On March 27th and 28th, the French-speaking Symfony community gathered at the Cité Internationale Universitaire de Paris for another edition of SymfonyLive Paris. This year, in addition to inspiring conferences, great workshops and community time, Symfony enthusiasts kicked off the official celebration of Symfony's 20th anniversary.

Read more
Domain Driven Design practical approach
Silas Joisten

Applying Domain-Driven Design in PHP and Symfony: A Hands-On Guide

Learn how to apply Domain-Driven Design (DDD) principles in Symfony with practical examples. Discover the power of value objects, repositories, and bounded contexts.

Read more
Photo speaker meetup AI Symfony
Jules Daunay

Symfony and AI: the video is now available

What about Symfony and Artificial Intelligence (AI)? This was the theme of the exclusive event organized by SensioLabs in partnership with Codéin on October 3rd. With the added bonus of feedback from a development project combining Symfony and AI. If you missed the event, check out the video now available for free on our Youtube channel.

Read more
2025 a year of celebrations for PHP with windows about API Platform, PHP, AFUP and Symfony
Jules Daunay

2025: a year of anniversaries for PHP, AFUP, Symfony and API Platform

2025 is going to be a big year for anniversaries. We will be celebrating the 20th anniversary of Symfony, the 30th anniversary of PHP, the 25th anniversary of AFUP and the 10th anniversary of API Platform. For SensioLabs, this is a major milestone that proves the longevity of the technologies in our ecosystem. We are proud to celebrate these anniversaries with the community all year long.

Read more
SymfonyDay Chicago 2025
Simon André

SymfonyDay Chicago 2025: A Celebration of Community

On March 17th, the Symfony community met in Chicago for SymfonyDay Chicago 2025. The event, held on St. Patrick's Day, was both a celebration of Symfony and a moment to support Ryan Weaver in his fight against cancer. It was more than just a conference — it was a gathering around a valued member of the community.

Read more
Blue ElePHPant on a computer
Imen Ezzine

Optimize Your PHP Code: 8 Functions You Need for Efficient Table Handling

If you want to become a good PHP developer, you must learn to work with arrays. Arrays are used a lot in PHP: temporarily store, organize, and process data before it's saved in a database. Knowing how to work with them efficiently will help you manage and process data more effectively.

Read more
Image