Developed with love by KnpLabs Hire us for your project!
273

WebProfilerExtraBundle

by Elao

Adding routing, container, assetic & twig information in the web profiler

Elao WebProfilerExtraBundle

Total Downloads

What is this Symfony2 bundle for ?

It adds in your WebProfiler extra sections :

  • Routing : Lists all the routes connected to your application
  • Container : Lists all the services available in your container
  • Twig : Lists Twig extensions, tests, filters and functions available for your application
  • Assetic

WebProfilerExtraBundle

Installation

If you are working with Symfony >= 2.2

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"

Register the bundle in your AppKernel (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();
}

Activate the different collectors in 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

Install assets

Install assets by running to have beautiful icons in your debug bar

$ app/console assets:install web/ --symlink

Screenshot

Screenshot

Copyright (c) 2004-2011 ELAO

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
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
  • Merge pull request #61 from Elao/fix/collector-name
    By benji07, 2 years ago
  • fix collector name
    By benji07, 2 years ago
  • Merge pull request #58 from Elao/fix/twig-profiler
    By benji07, 2 years ago
  • Merge pull request #49 from nykopol/master
    By benji07, 2 years ago
  • Merge pull request #54 from jrobeson/patch-1
    By benji07, 2 years ago
  • Merge pull request #56 from tangrucheng/master
    By benji07, 2 years ago
  • fix the profiler condition
    By benji07, 2 years ago
  • Repair menu label icon image use base64.
    By tangrucheng, 2 years ago
  • use psr-4 autoloader
    By jrobeson, 2 years ago
  • Merge pull request #51 from adrienbrault/patch-1
    By benji07, 3 years ago
  • Dont recommend dev-master version in readme
    By adrienbrault, 3 years ago
  • Add twig globals informations
    By nykopol, 3 years ago
  • Merge pull request #48 from nykopol/master
    By benji07, 3 years ago
  • conform to coding standards
    By nykopol, 3 years ago
  • missing get_class() in previous commit
    By nykopol, 3 years ago
  • fix fatal error when filter contains closure
    By nykopol, 3 years ago
  • Merge pull request #46 from pborreli/typos
    By benji07, 3 years ago
  • Fixed typos
    By pborreli, 3 years ago
  • Merge pull request #44 from jrobeson/patch-1
    By benji07, 3 years ago
  • remove symfony 2.0 installation instructions
    By jrobeson, 3 years ago
  • remove unused property
    By benji07, 3 years ago
  • Fixed badge
    By tristanbes, 4 years ago
  • Changed badge from Knp to the packagist one in order to have more reliable stats
    By tristanbes, 4 years ago
  • Merge pull request #42 from damour/patch-1
    By benji07, 4 years ago
  • Update README.md
    By damour, 4 years ago
  • fix twig dependency
    By benji07, 4 years ago
  • Merge pull request #40 from egeloen/master
    By benji07, 4 years ago
  • Make WDT more responsive
    By egeloen, 4 years ago
  • Merge pull request #39 from VeN/master
    By benji07, 4 years ago
  • Twig - printing values of templates' parameters
    By VeN, 4 years ago