cheatcodes / laravel-whoops
A Whoops exception handler for Laravel
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- filp/whoops: ^2.1
- illuminate/contracts: ^5.1
- illuminate/support: ^5.1
This package is not auto-updated.
Last update: 2023-03-18 11:03:44 UTC
README
A Whoops exception handler for Laravel >= 5.1. When the app.debug
configuration is set to true
, this package will overwrite the default exception handler class in Laravel and show a nice Whoops error page instead of the default one when an exception is thrown.
The WhoopsExceptionHandler
class extends from \App\Exceptions\Handler
and only overwrites the convertExceptionToResponse
method, so all modifications made in the default handler will stay in effect.
Installation
Installation using composer:
composer require cheatcodes/laravel-whoops
And add the service provider in config/app.php
:
'providers' => [ // ... CheatCodes\LaravelWhoops\WhoopsServiceProvider::class, // ... ],
That's it.