New in Symfony 7.1: WebProfiler Improvements

Contributed by
Javier Eguiluz

in #54420,
#54423
and #53885.

The Symfony profiler is a debugging tool that provides detailed information about
the execution of any HTTP request or console command. In Symfony 7.1, we’ve added
several improvements to it.

First, the sidebar menu now displays the active menu items first, to avoid
distracting you with panels that don’t contain any information relevant to that
request/command:

We’ve also improved the performance of the profiler web UI. As part of this
enhancement, the search form was removed from the sidebar to prevent an
unpleasant page jump when loading complex profiler panels. The search form is
still just one click away in the redesigned top section of the sidebar:

In many profiler panels, you will see long tables of key-value rows. In Symfony 7.1,
these tables will now include a search input injected dynamically via JavaScript:

This search input allows you to filter the table contents in real-time. Simply
type anything, and you’ll only see the rows that contain that text in any of
its cells:

Additional improvements that were added to the Profiler in Symfony 7.1:

In PR 52950,
Adrian Günter improved the JavaScript code of
the toolbar to avoid triggering Xdebug for toolbar requests when using the
Xdebug browser extension;
In PR 54364, the design of
the Workflow panel has been improved.

Sponsor the Symfony project.

Symfony Blog

Read More

Latest News

PHP-Releases

PHP 8.4.1 released!

PHP 8.1.31 released!

PHP 8.3.14 released!

PHP 8.2.26 released!

Generated by Feedzy