Need help with Silex-WebProfiler?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

207 Stars 61 Forks MIT License 125 Commits 6 Opened issues

Services available


Need anything else?

Contributors list

Silex Web Profiler

WARNING: Silex is in maintenance mode only. Ends of life is set to June 2018. Read more on

Symfony's blog 

The Silex Web Profiler service provider allows you to use the wonderful Symfony web debug toolbar and the Symfony profiler in your Silex 2.x application.

.. note::

If you are using the 1.x Silex version, read the `specific documentation

To install this library, run the command below and you will get the latest version:

.. code-block:: bash

composer require 'silex/web-profiler:^2.0'

And enable it in your application:

.. code-block:: php

use Silex\Provider;

$app->register(new Provider\WebProfilerServiceProvider(), array( 'profiler.cache_dir' => DIR.'/../cache/profiler', 'profiler.mount_prefix' => '/_profiler', // this is the default ));

The provider depends on

, and
so you also need to enable those if that's not already the case:

.. code-block:: php

$app->register(new Provider\HttpFragmentServiceProvider());
$app->register(new Provider\ServiceControllerServiceProvider());
$app->register(new Provider\TwigServiceProvider());

If you are using

, the
will detect that and enable the corresponding panels.

Make sure to register all other required or used service providers before


If you are using

for logs, you must also add
as a Composer dependency to get the logs in the profiler.

If you are using

, add
as a Composer dependency to display VarDumper dumps in the toolbar and the profiler.

If you are using

, add
as a Composer dependency to display Security related information in the toolbar and the profiler.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.