You can use view composers http://laravel.com/docs/5.0/views#view-composers
To show custom 404 page create class, for example, App\ExceptionHandler namespace App; use Symfony\...
The Laravel portal for problem solving, knowledge sharing and community building.
The community