jolicode/gif-exception-bundle

The GhostBuster of your exception page

Installs: 92 492

Dependents: 0

Suggesters: 0

Security: 0

Stars: 207

Watchers: 24

Forks: 15

Open Issues: 0

Type:symfony-bundle

v1.9.0 2023-12-04 09:23 UTC

This package is auto-updated.

Last update: 2024-11-04 11:22:10 UTC


README

Latest Stable Version Total Downloads

The GhostBuster of your exception page!

It displays a GIF instead of Symfony's ghost on exception page and it's compatible with Symfony versions from 5.4 to latest. Here is what it looks like :

Demo Symfony  4.4

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

Note Support for previous Symfony versions was available in previous versions of this bundle. See the CHANGELOG for more details.

Installation

composer require jolicode/gif-exception-bundle --dev

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

Optimizing gifs

If you are adding gifs we strongly recommend optimizing them. There is a tool to aid with this (you will need to install gifsicle).

bin/optimizer.php

You can also run this command directly from your Symfony application:

bin/console gifexception:optimize

Although it would probably make more sense to use the former and push up the optimized gifs.

It uses gifsicle to optimize gifs via the image-optimizer library.

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.