Very important bundle to make Symfony Exception looks like /r/gifs.
Be aware that we can not be held responsible for any loss of productivity during development.
- Use Composer to install
GifExceptionBundle
in your project:
composer require "jolicode/gif-exception-bundle"
- Enable the bundle in dev environment:
/**
* {@inheritdoc}
*/
public function registerBundles()
{
$bundles = [
// ...
];
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// ...
$bundles[] = new \Joli\GifExceptionBundle\GifExceptionBundle();
}
return $bundles;
}
- Then install the assets to make gifs accessible to public:
app/console assets:install
Now enjoy your exceptions \o/
We need you to improve the included GIFs! Do not hesitate to open PRs to add more gifs in Resources/public/images/, it will be very welcomed! 😉
You can see the current and past versions using one of the following:
- the
git tag
command - the releases page on Github
- the file listing the changes between versions
And some meta documentation:
- All contributors;
- All GIFs included belong to their respective authors.
GifExceptionBundle is licensed under the MIT License - see the LICENSE file for details.