The NelmioEsiDebugBundle shows you caching information around ESI requests for debugging purposes.
- Visual wrapping of ESI requests
- A link in the Web Debug Toolbar to hide the wrapper divs
If you want to disable the wrapper divs without disabling the bundle, you can do it via the configuration:
nelmio_esi_debug:
enabled: false
Require the nelmio/esi-debug-bundle
package in your composer.json and update your dependencies.
$ composer require nelmio/esi-debug-bundle:*
Add the NelmioEsiDebugBundle to your application's kernel:
public function registerBundles()
{
$bundles = array(
...
new Nelmio\EsiDebugBundle\NelmioEsiDebugBundle(),
...
);
...
}
Put the NelmioEsiDebugBundle into the vendor/bundles/Nelmio
directory:
$ git clone git://github.com/nelmio/NelmioEsiDebugBundle.git vendor/bundles/Nelmio/EsiDebugBundle
Register the Nelmio
namespace in your project's autoload script (app/autoload.php):
$loader->registerNamespaces(array(
'Nelmio' => __DIR__.'/../vendor/bundles',
));
Add the NelmioEsiDebugBundle to your application's kernel:
public function registerBundles()
{
$bundles = array(
...
new Nelmio\EsiDebugBundle\NelmioEsiDebugBundle(),
...
);
...
}
Released under the MIT License, see LICENSE.