PHPackages                             lithiumdev/laravel-exception-mailer - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. lithiumdev/laravel-exception-mailer

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

lithiumdev/laravel-exception-mailer
===================================

Receive an email whenever laravel throws an exception

v1.2.0(5y ago)54881MITBladePHP &gt;7.2

Since Apr 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LithiumHosting/LaravelExceptionMailer)[ Packagist](https://packagist.org/packages/lithiumdev/laravel-exception-mailer)[ RSS](/packages/lithiumdev-laravel-exception-mailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

[![](https://camo.githubusercontent.com/0c9d6c071c06ea29828dd4f0f7c080feedaffbfc2a95f47f183a565778592589/68747470733a2f2f6c69746869756d686f7374696e672e636f6d2f696d616765732f6c6f676f5f6e65775f626c61636b2e706e67)](https://camo.githubusercontent.com/0c9d6c071c06ea29828dd4f0f7c080feedaffbfc2a95f47f183a565778592589/68747470733a2f2f6c69746869756d686f7374696e672e636f6d2f696d616765732f6c6f676f5f6e65775f626c61636b2e706e67)

Laravel Exception Mailer
------------------------

[](#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.

### Copyright

[](#copyright)

(c) Lithium Hosting, llc

### License

[](#license)

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

### Requirements

[](#requirements)

- PHP 5.5.9 or newer
- Laravel 5.2.x

### Description

[](#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.

Installation
------------

[](#installation)

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

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

```

Next, update Composer from the Terminal:

```
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.

- 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`

```
    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.

Manually Call

```
ExceptionMailer::notifyException($exception)

```

Manually set environment

```
ExceptionMailer::setEnvironment("local")

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~177 days

Recently: every ~374 days

Total

11

Last Release

1901d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.9

v1.1.0PHP &gt;7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/20a605a84d2fd001ad68750f93812201d3fe0c8dc056e657580fae0562a16f80?d=identicon)[tsiedsma](/maintainers/tsiedsma)

---

Top Contributors

[![tsiedsma](https://avatars.githubusercontent.com/u/2625597?v=4)](https://github.com/tsiedsma "tsiedsma (10 commits)")

---

Tags

laravelexceptionexception mailer

### Embed Badge

![Health badge](/badges/lithiumdev-laravel-exception-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/lithiumdev-laravel-exception-mailer/health.svg)](https://phpackages.com/packages/lithiumdev-laravel-exception-mailer)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[kevincobain2000/laravel-alert-notifications

Alert notifications of exceptions from your laravel application

2621.1k](/packages/kevincobain2000-laravel-alert-notifications)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[kssadi/log-tracker

A powerful, intuitive, and efficient log viewer for Laravel applications.

264.8k](/packages/kssadi-log-tracker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
