SymfonyWorld Online 2021 Winter Edition December 9 – 10, 2021 100% Online +20 talks and workshops

New in Symfony 5.2: Session profiling

Warning: This post is about an unsupported Symfony version. Some of this information may be out of date. Read the most recent Symfony Docs.

Contributed by
Mathias Arlaud
in #36364.

The Symfony profiler is a powerful development tool that gives you detailed information about the execution of any request. In Symfony 5.2 we’ve improved it with session profiling, which displays all the information related to the session of the current request.

First, the debug toolbar now tells you if the current page is using the session or not and the if the session check was stateless:

Symfony session profiling in the web debug toolbar

In addition, the profiler now displays a new section called Session in the Request/Response panel. It displays the session metadata (e.g. creation date, lifetime, etc.), the session attributes names and values, and the full details of all session usages, including PHP backtraces:

Symfony session profiling in the profiler
Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Nice one !
Thanks @Mathias
👍👍 @Mathias
Thanks !
It's perfect ! Thanks @Mathias
Nice Mathias ! :)

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.