Mohamed Said wrote this article about Better 404 responses using Laravel 5.5
Laravel 5.5.10 is shipped with two useful router methods that'll help us present better 404 pages for our users. Currently when a 404 exception is thrown Laravel displays a nice 404.blade.php
view file, you can customize how it looks like for your end user but inside the view itself you don't have access to sessions, cookies, auth, etc..