deepak-kumar / ExceptionAlert by bebetter

Laravel 5 alert on exception
286
1
3
Package Data
Maintainer Username: bebetter
Maintainer Contact: deepakkumar222@gmail.com (Deepak Kumar)
Package Create Date: 2016-02-10
Package Last Update: 2016-04-18
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:19:22
Package Statistics
Total Downloads: 286
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 1
Total Open Issues: 0

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.