PHPackages                             crazyit/laravel-error-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. crazyit/laravel-error-mailer

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

crazyit/laravel-error-mailer
============================

Report errors by mail while ignoring repeating ones.

0.3.1(1y ago)016MITPHPPHP ^7.2 || ^8.0

Since Aug 4Pushed 1y agoCompare

[ Source](https://github.com/shacky/laravel-error-mailer)[ Packagist](https://packagist.org/packages/crazyit/laravel-error-mailer)[ RSS](/packages/crazyit-laravel-error-mailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Laravel ErrorLog Mailer
=======================

[](#laravel-errorlog-mailer)

Package to report laravel errors by email with throttling and deduplication. Fork of adwiv/laravel-error-mailer that is working fine with laravel 5.3+.

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

[](#installation)

1. Require this package with composer using the following command:

```
composer require crazyit/laravel-error-mailer
```

2. Run the migration to create the `error_logs` table.

```
php artisan migrate
```

3. Add the following keys to .env file

```
# Required Key
ERROR_MAILER_TO = "hello@example.com,admin@example.com" # Comma separated list of email addresses
```

```
# Optional Keys
ERROR_MAILER_FROM = "errors@example.com" # Mail sender, if not defined defaults to config setting
ERROR_MAILER_REPEAT_AFTER = 300   # Time in seconds for which same error will not be reported again
ERROR_MAILER_HOURLY_LIMIT = 10    # Maximum number of error mails that will be sent in an hour
```

4. Configure `config/logging.php`. The package automatically adds a logging channel named `error-mailer`.

The simplest way to use it is to add it the `stack` channel.

```
    'channels' => [
        'stack' => [
            'driver' => 'stack',
            'channels' => ['single', 'error-mailer'], # false,
        ],
        ...
     ],
```

Thats all. Any errors should now be reported to all the email addresses listed in `ERROR_MAILER_TO` environment option.

Troubleshooting
---------------

[](#troubleshooting)

If mails are not being recieived, please check:

1. Mail sending is configured correctly and you are able to send other mails without any issues.
2. The `ERROR_MAILER_TO` variable is defined in .env file and has valid email addresses (without spaces)
3. The mail queue is being processed correctly
4. Check the laravel.log for any reported issues.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~391 days

Total

4

Last Release

572d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad2554800ad57c380f5df3127f9292cbdd8e495971c4c80f843d545e53aae356?d=identicon)[shacky77](/maintainers/shacky77)

---

Top Contributors

[![adwiv](https://avatars.githubusercontent.com/u/11003751?v=4)](https://github.com/adwiv "adwiv (10 commits)")[![shacky](https://avatars.githubusercontent.com/u/6030720?v=4)](https://github.com/shacky "shacky (5 commits)")

### Embed Badge

![Health badge](/badges/crazyit-laravel-error-mailer/health.svg)

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

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[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)[regulus/activity-log

A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.

164220.1k2](/packages/regulus-activity-log)

PHPackages © 2026

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