This bundle integrates handy Whoops library into Symfony2. It aplies webprofiler's toolbar as well.
Any suggestions are appreciated.
Installing this bundle can be done through these simple steps:
- Add this bundle to your project as a composer dependency:
// composer.json
{
// ...
require-dev: {
// ...
"dpro/whoops-bundle": "dev-master"
}
}- Add this bundle in your application kernel:
// app/AppKernel.php
public function registerBundles()
{
// ...
if (in_array($this->getEnvironment(), array('dev'))) {
$bundles[] = new dpro\WhoopsBundle\dproWhoopsBundle();
}
return $bundles;
}