GithubHelp home page GithubHelp logo

pborreli / webprofilerextrabundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elao/webprofilerextrabundle

0.0 1.0 0.0 169 KB

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

Home Page: http://www.elao.com

License: MIT License

PHP 100.00%

webprofilerextrabundle's Introduction

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" : "dev-master"
},

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 environement

[...]
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 beatuiful icons in your debug bar

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

Screenshot

Screenshot

webprofilerextrabundle's People

Contributors

artemdigi avatar benja-m-1 avatar benji07 avatar damour avatar digitalgoldfish avatar gelolabs avatar gimler avatar lunetics avatar lutzportela avatar lyrixx avatar mdhooge avatar nchaulet avatar pierredup avatar qpleple avatar szymek avatar tomadam avatar tristanbes avatar vaclavn avatar xwb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.