New in Symfony Flex 1.2

Symfony Flex is a recommended dependency of modern Symfony applications that improves your productivity by automating repetitive and boring tasks, like installing and automatically configuring bundles and other libraries. Symfony Flex 1.2 has just been released with some useful new features! Simpler update of recipes Contributed by Alex Rock in #439. Symfony Recipes define the…

New in Symfony 4.3: Form improvements

Added a Twig function to get the parent form Contributed by Christian Flothmann in #28812. In Symfony 4.3 we added a Twig function called parent_form() which returns the parent form view or null if the form view already is the root form. Using this function should be preferred over accessing the parent form using form.parent.…

The final schedule for SymfonyLive Paris 2019 is out!

The complete schedule for SymfonyLive Paris 2019 is online. Check out the last selected talks and speakers for the conference. Le SymfonyLive Paris approche, rendez-vous les 28 et 29 mars 2019 à la Cité Internationale Universitaire de Paris. Nous sommes ravis d’annoncer les derniers sujets sélectionnés au SymfonyLive Paris 2019 ! Nous avons pris le…

Introducing the SymfonyInsight Portfolio

SymfonyInsight helps you create maintainable and robust Symfony projects by giving you actionable metrics and hints about your project’s code. However, while fixing actual code quality issues is definitely important, it is only a part of the problem. It does not deal with the other side of software quality: human organization. Designing a solution to…

A Week of Symfony #633 (11-17 February 2019)

This week, a coordinated community effort updated the Symfony translation files for lots of languages (we’re still looking for contributors for some European and Asian languages). Meanwhile, the upcoming Symfony 4.3 version added a JSON validator and improved the form translation. Symfony development highlights This week, 68 pull requests were merged (58 in code and…

New in Symfony 4.3: Configurable Session ID

Contributed by Anthony Martin in #30027. PHP defines lots of config options related to sessions. In Symfony we define them under the framework.session.* options so you don’t have to change your PHP.ini to configure those values. In Symfony 4.3 we added two new config options related to session IDs: 1 2 3 4 5 6…

New in Symfony 4.3: Improved form translation

Contributed by Webnet team in #28635. The forms created with the Symfony Form component translate their labels and help messages automatically. However, the translations cannot contain any custom parameters because in the templates, the trans() Twig filter is called without passing any parameters. In Symfony 4.3 we improved the translation of Symfony Forms allowing to…

New in Symfony 4.3: JSON validation

Contributed by Imad Zairig in #28477. JSON is arguably the most used format in applications developed with Symfony. You probably make requests to JSON APIs and send/receive JSON payloads in your projects. That’s why Symfony provides a JsonResponse class, a way to build JSON authentication, full JSON support in the Serializer component, a json() helper…

A Week of Symfony #632 (4-10 February 2019)

This week, Symfony 3.4.22 and 4.2.3 maintenance versions were released. Meanwhile, development activity mostly focused on fixing Form bugs and fixing compatibility with PhpUnit 8. Lastly, more details were announced for the SymfonyLive Tunis 2019 conference and the registration was opened. Symfony development highlights This week, 34 pull requests were merged (28 in code and…

New in Symfony 4.3: Improved performance of PropertyAccess

Contributed by Christian Flothmann in #29999. The PropertyAccess component allows to read/write properties from objects and arrays using a simple string notation. It’s used by Symfony components like Forms, Security, Validator, Workflow and hundreds of other public projects. In Symfony 4.3 we improved its performance refactoring the code of the ObjectNormalizer class. The trick was…