A simple Laravel Package that adds some funny error pages.
Heart | Lost | Space |
---|---|---|
... | ... | ... |
Space Invader | Vampire |
---|---|
... | ... |
You can install these custom error pages simply by using composer:
composer require
Now we just need to publish the error page itself (so Laravel knows it's a custom one) and the public assets.
php artisan vendor:publish --provider="xPand4B\FunnyErrorPages\FunnyErrorPagesServiceProvider" --tag=funny-error-pages --tag=public
You also have the possibility to change config values, translations and the error pages itself. Just use the following commands with the tag that you need (config, views, translation).
php artisan vendor:publish --provider="xPand4B\FunnyErrorPages\FunnyErrorPagesServiceProvider" --tag={config|translation|views}
- Lost in space Screen provided by Saleh Riaz Qureshi
The MIT License (MIT). Please see License File for more information.