/Laravel-Exceptions

Pretty error pages for both development and production for Laravel 5

Primary LanguagePHPMIT LicenseMIT

Laravel Exceptions

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.

Laravel Exceptions

Build Status Coverage Status Quality Score Software License Latest Version

Installation

PHP 5.5+ or HHVM 3.3+, 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": "0.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.

Configuration

Laravel Exceptions requires no configuration. Just follow the simple install instructions and go!

Usage

Laravel Exceptions is designed to pull down code from github commits, analyse it, and build code style reports. There is currently no real documentation for this package, but feel free to check out the API Documentation for Laravel Exceptions.

License

Laravel Exceptions is licensed under The MIT License (MIT).