A Laravel package that replaces the default 404 error page with a terminal animation featuring a depressed web server.
Inspired by wachwerk.de/404. Original text by Sebastian Lübcke, circa 2000.
composer require chellmann/sad-serverThat's it. The package auto-discovers and immediately replaces your 404 page.
Publish the config to customize the terminal title, typing speed, or messages:
php artisan vendor:publish --tag=sad-server-configThis creates config/sad-server.php where you can change:
title— The terminal window title bar texttype_speed— Typing speed in milliseconds per characterstrings— Array of messages the server types out
php artisan vendor:publish --tag=sad-server-viewsThis publishes the Blade template to resources/views/vendor/sad-server/errors/404.blade.php.
The package registers a renderable callback for NotFoundHttpException. HTML requests get the terminal 404 page, JSON/API requests are unaffected.
MIT