Laravel Exceptions was created by, and is maintained by Graham Campbell, and provides pretty error pages for both development and production for Laravel 5. It utilises the Whoops package for the development error pages. Feel free to check out the change log, releases, license, api docs, and contribution guidelines.
PHP 5.5+ or HHVM 3.6+, and Composer are required.
To get the latest version of Laravel Exceptions, simply add the following line to the require block of your composer.json
file:
"graham-campbell/exceptions": "~1.1"
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
Once Laravel Exceptions is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
'GrahamCampbell\Exceptions\ExceptionsServiceProvider'
You then MUST change your App\Exceptions\Handler
class to extend GrahamCampbell\Exceptions\ExceptionHandler
rather than extending Illuminate\Foundation\Exceptions\Handler
.
Laravel Exceptions requires no configuration. Just follow the simple install instructions and go!
There is currently no real documentation for this package, but feel free to check out the API Documentation for Laravel Exceptions.
Laravel Exceptions is licensed under The MIT License (MIT).