It adds in your WebProfiler extra sections :
Add this in your composer.json
"require-dev": {
[...]
"elao/web-profiler-extra-bundle" : "~2.3@dev"
},
And run php composer.phar update elao/web-profiler-extra-bundle
If you are working with Symfony <= 2.1, prefer the 2.1 branch of this bundle "elao/web-profiler-extra-bundle" : "dev-2.1"
app/AppKernel.php
)Most of the time, we need this bundle to be only activated in the dev
environment
[...]
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
[...]
$bundles[] = new Elao\WebProfilerExtraBundle\WebProfilerExtraBundle();
}
app/config/config_dev.yml
web_profiler_extra:
routing:
enabled: true
display_in_wdt: true
container:
enabled: true
display_in_wdt: true
assetic:
enabled: true
display_in_wdt: true
twig:
enabled: true
display_in_wdt: true
If you don't use assetic then you need to disable the assetic collector
web_profiler_extra:
assetic:
enabled: false
display_in_wdt: false
Install assets by running to have beautiful icons in your debug bar
$ app/console assets:install web/ --symlink