PHPackages                             themonkeys/error-emailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. themonkeys/error-emailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

themonkeys/error-emailer
========================

Emails you whenever an error occurs on your server

1.0.1(10y ago)4916.6k↓100%[2 issues](https://github.com/TheMonkeys/laravel-error-emailer/issues)[2 PRs](https://github.com/TheMonkeys/laravel-error-emailer/pulls)MITPHPPHP &gt;=5.3.0

Since May 23Pushed 10y ago9 watchersCompare

[ Source](https://github.com/TheMonkeys/laravel-error-emailer)[ Packagist](https://packagist.org/packages/themonkeys/error-emailer)[ Docs](http://github.com/TheMonkeys/laravel-error-emailer)[ RSS](/packages/themonkeys-error-emailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

[![The Monkeys](https://camo.githubusercontent.com/580df7170b07322a64b603ab110484f004b2464ccf1a56e9fc2b3dad16b39378/687474703a2f2f7777772e7468656d6f6e6b6579732e636f6d2e61752f696d672f6d6f6e6b65795f6c6f676f2e706e67)](https://camo.githubusercontent.com/580df7170b07322a64b603ab110484f004b2464ccf1a56e9fc2b3dad16b39378/687474703a2f2f7777772e7468656d6f6e6b6579732e636f6d2e61752f696d672f6d6f6e6b65795f6c6f676f2e706e67)

Laravel Error Emailer
=====================

[](#laravel-error-emailer)

Don't have a sysadmin keeping an eye on your application's error logs? Just add this package to your Laravel application and you'll be sent an email with plenty of diagnostic information whenever an error occurs.

Installation Laravel 4.x
------------------------

[](#installation-laravel-4x)

To get the latest version of the package simply require it in your composer.json file.

```
composer require themonkeys/error-emailer:dev-master --no-update
composer update themonkeys/error-emailer
```

Once the package is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(
    'Themonkeys\ErrorEmailer\ErrorEmailerServiceProvider',
)
```

Add the following to the `facades` key:

```
'facades' => array(
    'ErrorEmailer' => 'Themonkeys\ErrorEmailer\Facades\ErrorEmailer',
)

```

The package comes disabled by default, since you probably don't want error emailing enabled on your development environment. Especially if you've set `'debug' => true,`.

To configure the package, you can use the following command to copy the configuration file to `app/config/packages/themonkeys/error-emailer`.

```
php artisan config:publish themonkeys/error-emailer
```

Or you can just create a new file in that folder and only override the settings you need.

The settings themselves are documented inside `config.php`. A minimal config file to enable error emails and set two recipients can be as simple as:

```
