Better Code Editor Selection
Contributed by Jérôme Tamarelle
in #44575
and #45745.
The Symfony framework.ide configuration option defines the IDE/editor to use to open files when clicking on paths in error pages and other parts of the profiler. Some developers don't like this option because it sets the IDE/editor as a project-wide option, when in reality choosing an IDE or text editor is one of the most personal decisions for developers. That's why in Symfony 6.1 we've improved this feature to allow defining the IDE/editor via an environment variable called SYMFONY_IDE. When the framework.ide option is not set, Symfony tries to read that env var to get the IDE/editor. An additional bonus of this feature is that you must only set the env var once in your system to use the same IDE/editor everywhere. The framework.ide option requires setting it per project.
Xdebug Information Page
Contributed by Christopher Hertel
in #44483.
The web debug toolbar displays debug information about the PHP version, whether OPcache and Xdebug are enabled or not, etc. It also provides a link to see the output of the phpinfo() function so you can check the value of PHP configuration options or if some PHP extension is missing. In Symfony 6.1 we're improving this information with a new link to the "Xdebug info page", where you can see all the configuration options used by Xdebug:
Copying HTTP Client Requests as cURL Commands
Contributed by Jérôme Tanghe
in #43931.
The Symfony profiler collects all the information about the requests made with the HttpClient component. This helps you debug any issues about them, but sometimes it's easier to re-run the request to try to reproduce the issue. That's why in Symfony 6.1 all HttpClient requests include a cURL button to get the cURL command needed to reproduce the same request:
For example, consider the following simple request:
$response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony');
The generated cURL command would look like this:
$ curl \
--compressed \ --request GET \ --url 'https://api.github.com/repos/symfony/symfony' \ --header 'accept: /' \ --header 'user-agent: Symfony HttpClient/Curl' \ --header 'accept-encoding: gzip'
Sponsor the Symfony project.
Login to add comment
Other posts in this group
We were absolutely thrilled to gather with the incredible Symfony community for the first time in Vienna, Austria, from December 5th to 6th, surrounded by the warm and festive atmosphere of the
SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.
💻
Symfony has been active on X, Mastodon, and Bluesky for some time, but until recently, not all platforms received equal attention. Since Twitter (now X) was our first social network, all blog posts we
SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.
As we are now unveiling th
Affected versions
Twig versions >=3.16.0,<3.19.0 are affected by this security issue.
The issue has been fixed in Twig 3.19.0.
Description
When using the null coalesce operator (??), output esc
Symfony 6.4.18 has just been released. Here is the list of the most important changes since 6.4.17:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient
Symfony 7.1.11 has just been released. Here is the list of the most important changes since 7.1.10:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient