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 6.4 to 8.2. Here is what it looks like :
Be aware that we can not be held responsible for any loss of productivity during development.
Note Support for older Symfony and PHP versions was available in previous versions of this bundle. See the CHANGELOG for more details.
- Use Composer with Symfony Flex to install
GifExceptionBundlein your project:
composer require jolicode/gif-exception-bundle --devNow enjoy your exceptions \o/
We need you to improve the included GIFs! Do not hesitate to open PRs to add more gifs in public/images/, it will be very welcomed! ๐
Every gif in the repository must be optimized and resized to 145px wide, the test suite enforces it. Before committing a new gif, run the Castor task (you will need to install gifsicle):
castor optimizeThis project uses Castor as a task runner for common development tasks.
To install Castor, see the installation documentation.
Available tasks:
castor list # List all available tasks
castor test # Run the test suite
castor cs # Fix PHP coding standards
castor cs --dry-run # Check PHP coding standards
castor phpstan # Run static analysis
castor optimize # Optimize and resize gifs
castor serve # Start the demo applicationYou can see the current and past versions using one of the following:
- the
git tagcommand - 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.
