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.

v1.0.0 2016-06-12 13:28 UTC

This package is not auto-updated.

Last update: 2023-03-18 11:03:44 UTC


README

Quality Score Software License Packagist Version

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.