Skip to content

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

License

Notifications You must be signed in to change notification settings

lunetics/WebProfilerExtraBundle

 
 

Repository files navigation

Installation

  1. Add this bundle to your src/ dir:

     $ mkdir -p src/Elao
     $ git submodule add git://github.com/Elao/WebProfilerExtraBundle.git src/Elao/WebProfilerExtraBundle
    
  2. Add this bundle to your application's kernel:

     // app/AppKernel.php
     public function registerBundles()
     {
         if ($this->isDebug()) {
             $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
             $bundles[] = new Elao\WebProfilerExtraBundle\WebProfilerExtraBundle();
         }
     }
    
  3. Configure the web_profiler_extra service in your dev config:

     # application/config/config_dev.yml
     web_profiler_extra:
         routing:    true
         container:  true
         assetic:    true
         twig:       true
     
     # application/config/config_dev.xml
     <web_profiler_extra
         routing="true"
         container="true"
         assetic="true"
         twig="true"
     />
    
  4. Install assets

     $ app/console assets:install web
    

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%