Skip to content

😛 Very important bundle that makes Symfony Exception look like /r/gifs

License

Notifications You must be signed in to change notification settings

t-n-y/GifExceptionBundle

 
 

Repository files navigation

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.

About

😛 Very important bundle that makes Symfony Exception look like /r/gifs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 55.7%
  • PHP 43.5%
  • Makefile 0.8%