New in Symfony 6.1: Expressions as Service Factories

Contributed by Nicolas Grekas in #45512.

The service container provided by the DependencyInjection component allows you to configure the creation of objects. However, sometimes you need to apply the factory design pattern to delegate the object creation to some special object called "the factory". In Symfony 6.1 we're improving the service container to allow you to use expressi

3y | Symfony
Announcing SymfonyWorld Online 2022 Winter Edition

We are delighted to announce the Winter Edition of the SymfonyWorld Online conference organized from December 6th to 9th 2022. Entirely online, we’re pleased to invite you to the fifth edition of the international online conference organized in English.

Join us for the SymfonyWorld Online 2022 Winter Edition conference:

December 6-7: online workshop days December 8-9: online conference days

For this conference, there is no Call for Papers, as the ent

3y | Symfony
New in Symfony 6.1: Customizable Collection Prototypes

Contributed by Michael Käfer in #45605.

The Symfony Form component is so stable and provides so many features, that we rarely add new features to it. However, in Symfony 6.1 we're improving its developer experience with a new feature to customize collection prototypes. The CollectionType form field is used to render a collection of other fields or forms. When the field allows t

3y | Symfony
A Week of Symfony #801 (2-8 May 2022)

This week, Symfony continued fixing bugs on its upcoming Symfony 6.1 version. We also finished some new features for it, such as the support for Monolog 3. In addition, Symfony shut down the legacy infrastructure of Symfony Flex, because most people have already upgraded and the migration process is simple for those who haven't upgraded yet.

Symfony development highlights

This week, 40 pull requests were merged (19 in code and 21 in docs) and 39 issues were clo

3y | Symfony
New in Symfony 6.1: Simpler Bundle Extension and Configuration

Contributed by Yonel Ceruto in #43701.

Symfony bundles provide ready-to-use features to Symfony applications. In some cases, bundles include their own configuration and can even extend the application configuration adding new options. These extension and configuration features are implemented via dedicated classes that extend/implement other Symfony classes. This process is wel

3y | Symfony
New in Symfony 6.1: Configurable Semaphores

Contributed by Jérémy Derussé in #44155.

In Symfony 5.2 we introduced a Semaphore component as an alternative to the existing Lock component. According to the Wikipedia definition, a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system. Broadly speaking, a s

3y | Symfony
New in Symfony 6.1: Serializer Profiling

Contributed by Mathias Arlaud in #45656.

The Symfony Serializer component design is based on the chain-of-responsibility pattern. That makes it hard to know which normalizers and encoders are used during the entire (de)serialization process. That's why in Symfony 6.1 we've added a new Serializer panel in the Symfony Profiler:

This feature decorates the serializer service

3y | Symfony
New in Symfony 6.1: Service Autowiring Attributes

Contributed by Kevin Bond in #45657 and #45783.

PHP attributes are arguably one of the new PHP features with more positive impact on how we develop applications. Attributes add structured, machine-readable metadata information in code. In Symfony we added support for them in: New in Symfony 5.2: Routing PHP attributes New in Symfony 5.2: Constraints as PHP attribute

3y | Symfony
New in Symfony 6.1: Service Decoration Attributes

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

3y | Symfony
The old Flex infrastructure is shutting down

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

3y | Symfony

Members



Search