Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 2.2 KB

README.md

File metadata and controls

76 lines (51 loc) · 2.2 KB

GifExceptionBundle

Latest Stable Version Total Downloads Build Status

Very important bundle to make Symfony Exception looks like /r/gifs.

Demo

Be aware that we can not be held responsible for any loss of productivity during development.

Installation

  • 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/

Add some more gifs!

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! 😉

Further documentation

You can see the current and past versions using one of the following:

And some meta documentation:

Credits

License

GifExceptionBundle is licensed under the MIT License - see the LICENSE file for details.