2017 © Pedro Peláez
 

library laravel-exception-mailer

Simple email reporter for exceptions in laravel.

image

jpuck/laravel-exception-mailer

Simple email reporter for exceptions in laravel.

  • Friday, January 26, 2018
  • by jpuck
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Laravel Exception Mailer

Whenever an uncaught exception is thrown, this handler will email details about it and the request., (*1)

Installation

composer require jpuck/laravel-exception-mailer

If you're running Laravel 5.5, then you're done., (*2)

For Laravel 5.4, add the service provider to config/app.php, (*3)

jpuck\laravel\exception\mailer\Provider::class,

Configuration

Make sure the app's mail settings are configured properly., (*4)

By default it will send to the config('mail.from.address') but this and the subject can be overridden by publishing the configuration file., (*5)

php artisan vendor:publish --tag=config --provider='jpuck\laravel\exception\mailer\Provider'

Don't Report

You can filter out exceptions you aren't interested in by filling in the dontReport array in App\Exceptions\Handler, (*6)

protected $dontReport = [
    \Illuminate\Foundation\Http\Exceptions\MaintenanceModeException::class,
    \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class,
    \Illuminate\Database\Eloquent\ModelNotFoundException::class,
    \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException::class,
    \Illuminate\Auth\AuthenticationException::class,
    \Illuminate\Auth\Access\AuthorizationException::class,
    \Illuminate\Session\TokenMismatchException::class,
];

Customize Layout

You can also publish the view to customize the format., (*7)

php artisan vendor:publish --tag=views --provider='jpuck\laravel\exception\mailer\Provider'

The Versions

26/01 2018

dev-master

9999999-dev

Simple email reporter for exceptions in laravel.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Jeff Puckett

25/01 2018

dev-dev

dev-dev

Simple email reporter for exceptions in laravel.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Jeff Puckett

25/01 2018

1.0.1

1.0.1.0

Simple email reporter for exceptions in laravel.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Jeff Puckett

12/01 2018

1.0.0

1.0.0.0

Simple email reporter for exceptions in laravel.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Jeff Puckett

11/01 2018

0.1.0

0.1.0.0

Simple email reporter for exceptions in laravel.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Jeff Puckett