New in Symfony 4.3: URL Env Var Processor

Contributed by Jérémy Derussé in #28975. When using env vars to configure Symfony it’s common to use URLs to define the value of DSN-like config options like the following: 1 2 # .env MONGODB_URL="mongodb://db_user:db_password@127.0.0.1:27017/db_name" However, sometimes you need to access to some parts of the URL (such as the database name or the port number)…

New in Symfony 4.3: Simpler event dispatching

Contributed by Nicolas Grekas in #28920. In Symfony 3.3, we made the class optional for named services and started recommending to use the fully-qualified class name (FQCN) as the service ID. This makes config more intuitive and helps you avoid thinking about arbitrary strings to name services. Following the same idea, in Symfony 4.3 we’ve…

A Week of Symfony #638 (18-24 March 2019)

This week, we unveiled an upcoming Symfony and API Platform hackathon organized by the European Union. Meanwhile, the SymfonyLive Berlin 2019 conference made a call for papers and the SymfonyLive São Paulo 2019 conference announced its first speakers. Lastly, the popular FontAwesome library added the Symfony icon to their collection. Symfony development highlights This week,…

FontAwesome adds Symfony to their icon collection

FontAwesome is the web’s most popular icon set and toolkit. You’ve probably seen their icons in thousands of web sites and apps. In their latest 5.8 version, released on March 21, they added and/or improved 97 icons. One of those new icons is the Symfony logo, which has been included in their "brands" collection: How…

The Symfony and API Platform Hackathon is Coming!

The European Union, through its EU-FOSSA 2 program will organise several hackathons in the coming months. We are thrilled and honoured that the first will be the Symfony and API Platform Hackathon on April 6 and 7, 2019. The purpose of these events is to improve and contribute to Open Source Software projects used by…

Speak at SymfonyLive Berlin 2019!

SymfonyLive Berlin is already on the horizon! As every year, we’ll meet from September 24th to 27th at the MOA in Berlin to bring the German Symfony community together and talk about Symfony and PHP development in general. The CfP is live, we are looking forward to your talk proposals! This is going to be…

A Week of Symfony #637 (11-17 March 2019)

This week, the development activity of the upcoming Symfony 4.3 version focused on the HttpClient and Messenger components, to polish them before the “feature freeze” period starts in two weeks. Meanwhile, the SymfonyLive São Paulo 2019 conference announced its first speakers. Symfony development highlights This week, 71 pull requests were merged (40 in code and…

New in Symfony 4.3: Routing improvements

Boolean Container Parameters in Routes¶ Contributed by David Maicher in #30379. In Symfony apps, it’s possible to use container parameters in the routes config. In Symfony 4.3 we improved this feature to also support boolean parameters, so you can do things like this: 1 2 3 4 5 6 7 /** * @Route("/test", condition="%kernel.debug%") */…