2017 © Pedro Peláez
 

library laravel-exception-mailer

Receive an email whenever laravel throws an exception

image

lithiumdev/laravel-exception-mailer

Receive an email whenever laravel throws an exception

  • Sunday, February 19, 2017
  • by tsiedsma
  • Repository
  • 1 Watchers
  • 2 Stars
  • 155 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

, (*1)

Laravel Exception Mailer

from Lithium Hosting
We're always open to pull requests, feel free to make this your own or help us make it better., (*2)

(c) Lithium Hosting, llc, (*3)

License

This library is licensed under the MIT license; you can find a full copy of the license itself in the file /LICENSE, (*4)

Requirements

  • PHP 5.5.9 or newer
  • Laravel 5.2.x

Description

This package enables you to receive emails when Laravel throws an Exception. This enables you to react to issues in your application as they happen instead of waiting for user feedback., (*5)

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require lithiumdev/laravel-exception-mailer., (*6)

"require": {
    "laravel/framework": "5.*",
    "lithiumdev/laravel-exception-mailer": "~1.0"
}

Next, update Composer from the Terminal:, (*7)

composer update

Once this operation completes, the next step is to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*8)

  • Add LithiumDev\ExceptionMailer\ExceptionMailerServiceProvider::class, to your providers array in app/config/app.php
  • Run php artisan vendor:publish --provider="LithiumDev\ExceptionMailer\ExceptionMailerServiceProvider" to publish required resources.

Now change Config file: config/laravel-exception-mailer/config.php, (*9)

    return [
        'subject'       => 'Laravel Exception',
        'notify_emails'      => [
            [
                'address' => 'your@email.address',
                'name'    => 'Your Name Here',
            ],
        ],
        'email_template'     => "laravel-exception-mailer::email.exception",
        'notify_environment' => ['local'],
        'prevent_exception'  => ['Symfony\Component\HttpKernel\Exception\NotFoundHttpException'],
    ];

Be sure to set your email address and your name. You can add multiple arrays of users to receive notifications., (*10)

Manually Call, (*11)

ExceptionMailer::notifyException($exception)

Manually set environment, (*12)

ExceptionMailer::setEnvironment("local")

The Versions

19/02 2017

dev-master

9999999-dev

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

19/02 2017

v1.0.8

1.0.8.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

19/02 2017

v1.0.7

1.0.7.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

27/01 2017

v1.0.6

1.0.6.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

18/05 2016

v1.0.4

1.0.4.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

18/05 2016

v1.0.5

1.0.5.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

27/04 2016

v1.0.2

1.0.2.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

27/04 2016

v1.0.3

1.0.3.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

25/04 2016

v1.0.1

1.0.1.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer

25/04 2016

v1.0.0

1.0.0.0

Receive an email whenever laravel throws an exception

  Sources   Download

MIT

The Requires

 

by Troy Siedsma

laravel exception exception mailer