
Contributed by Hubert Lenoir and Robin Chalas in #45834,
46112.
The decorator pattern is a design pattern that allows to modify the behavior of an individual object without affecting the behavior of other objects from the same class. In Symfony applications, service decoration allows you to change the behavior of some service witho

In September 2021, we announced that we were transitioning the Flex infrastructure to a public Github repository. In November 2021, we wrote a blog post explaining how to transition (short version: upgrade to the latest symfony/flex version). Since then, I've been monitoring the number of downloads for the old Flex package versions on Packagist and the traffic on the private infrastructure. It took a while to see fewer downloads on Packagist, but the traffic was

This week, Symfony 4.4.41, 5.4.8 and 6.0.8 maintenance versions were released. In addition, the second beta of Symfony 6.1 was published so you can test it in your real projects before its final release. Meanwhile, the SymfonyWorld Online 2022 Summer Edition conference announced new talks and speakers. Lastly, a big thank you to all of you who have been following this weekly summary for 800 consecutive weeks, making it one of the longest-running series in the ent

Contributed by Kevin Bond in #44311.
In HTML it's possible to create email links that, when clicked, open a new email message with some pre-filled information rather than linking to some other page:
Send email
Send email
However, sometimes you need to create a full email, with lots of contents and even file attachments. You can't do that

Symfony 4.4.41 has just been released. Here is the list of the most important changes since 4.4.40: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently with TagAwareAdapter v6.1 (@sbelyshkin) bug #46149 Modify processing of uploaded files to be compat

Symfony 5.4.8 has just been released. Here is the list of the most important changes since 5.4.7: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46178 [DependencyInjection] Properly declare #[When] as allowed on functions (@nicolas-grekas) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently w

Symfony 6.0.8 has just been released. Here is the list of the most important changes since 6.0.7: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46178 [DependencyInjection] Properly declare #[When] as allowed on functions (@nicolas-grekas) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently w

Symfony 6.1.0-BETA2 has just been released. Here is the list of the most important changes since 6.1.0-BETA1: feature #45282 [Serializer] Support canners in object normalizer (@rmikalkenas) feature #46157 [Routing] Remove variadic constructor signature (@wouterj) bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46178 [DependencyInjection] Properly declare #[When] as allowed on functions (@nicolas-grekas) bug #46171 [VarDumper] Fix dumping f

Contributed by Mathias Arlaud in #43973.
The Serializer component allows you to pass some context information to the serializing and deserializing process. For example, to ignore certain attributes when serializing, you can use the following code:
$serializer->serialize($person, 'json', ['ignored_attributes' => ['age']]);
// Symfony also defines publ

We recently announced the first selected speakers and talks at SymfonyWorld Online 2022 Summer Edition conference. Read our previous blog post to discover who are the first speakers scheduled and the talks they will share with the Symfony community..
Today, we're very pleased to announce more speakers and talks of the upcoming international online conference:
Mathias Arlaud, Developer, will talk about "API Platform, third act.. At Les Tilleuls, we love