Download TremendKrumoBundle to the vendor directory under bundles/Tremend/KrumoBundle. You can use the Symfony’s vendor script for the automated procces. Add the following in your deps file:
[TremendKrumoBundle]
git=git://github.com/petrica/TremendKrumoBundle.git
target=/bundles/Tremend/KrumoBundle
and run the vendors script to download bundles:
php bin/vendors install
install assets if not already installed:
php app/console assets:install web
Register Bundle in AppKernel.php
public function registerBundles()
{
$bundles = array(
//...
new Tremend\KrumoBundle\TremendKrumoBundle(),
//...
);
return $bundles;
}
Autoload
'Tremend' => __DIR__.'/../vendor/bundles',
The Krumo class is defined inside the global namespace, that is why you can call the krumo function anywhere in your code like this:
\krumo($variableToDump);
Krumo class is defined as a service for Symfony2 and it is loaded automatically at the bundle boot process.
- Fix CSS images background path
This plugin is sponsored by Tremend Software Consulting Romania