bebetter/exception-alert

Laravel 5 alert on exception
286 1
Install
composer require bebetter/exception-alert
PHP:>=5.4.0
License:MIT
Last Updated:Apr 18, 2016
Links: GitHub  ·  Packagist
Maintainer: bebetter

Exception Alert

Installation

You can install the package through Composer.

composer require bebetter/exception-alert

You must install this service provider. Make this the very first provider in list.

// config/app.php
'providers' => [
    // make this very first provider
    'Bebetter\ExceptionAlert\ServiceProvider',
    //...
];

Then publish the config file of the package using artisan.

php artisan vendor:publish --provider="Bebetter\ExceptionAlert\ServiceProvider"

And put receiver email to it.

Add to your Exception Handler's (/app/Exceptions/Handler.php by default) report method these line:

//...
public function report(Exception $e)
{
    \ExceptionAlert::send($e);
    
    //...
    
    return parent::report($e); 
}
//...

License

The MIT License (MIT). Please see LICENSE for more information.