bebetter/exception-alert
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.