bebetter/exception-alert

Laravel 5 alert on exception

Maintainers

Package info

github.com/deepak-kumar/ExceptionAlert

pkg:composer/bebetter/exception-alert

Statistics

Installs: 286

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2016-04-18 10:49 UTC

This package is not auto-updated.

Last update: 2026-03-06 16:39:21 UTC


README

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.