PHPackages                             kwaadpepper/exception-handler - 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. kwaadpepper/exception-handler

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

kwaadpepper/exception-handler
=============================

Send emails when exceptions occurs

2.0.0(2y ago)01.2k[1 issues](https://github.com/Kwaadpepper/exception-handler/issues)MITPHP

Since Aug 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Kwaadpepper/exception-handler)[ Packagist](https://packagist.org/packages/kwaadpepper/exception-handler)[ Docs](https://github.com/kwaadpepper/exception-handler)[ RSS](/packages/kwaadpepper-exception-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

Exception Handler
=================

[](#exception-handler)

[![Latest Version on Packagist](https://camo.githubusercontent.com/99be40f53bf6980e2bce9be1ecbba178a4ef51d6566d83c5a88eb20007e71fca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b776161647065707065722f657863657074696f6e2d68616e646c65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kwaadpepper/exception-handler)[![Total Downloads](https://camo.githubusercontent.com/c258b2277c0697bed0be90d38a67159f2b610432e7f91524bbb8925ea665453d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b776161647065707065722f657863657074696f6e2d68616e646c65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kwaadpepper/exception-handler)

Handles exceptions and send email when it does happen It does send you a mail with anonymized debug data

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

[](#installation)

Via Composer

```
$ composer require kwaadpepper/exception-handler
```

Usage
-----

[](#usage)

- `php artisan handler:install`
- Change configuration in `config/exception-handler.php` if needed.
- Put at least your team email in the above file in `contactsList` array or using `.env` put a list in `EXCEPTION_MAIL_LIST`. You can add emails separated with `,` like `admin1@email.com,admin2@email.com`

You can uninstall it by using `php artisan handler:remove` or just revert changes in Exception/Handler.php

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Todo
====

[](#todo)

- Add other transmission possibilities (other than mail)

Security
--------

[](#security)

If you discover any security related issues, please email `github@jeremydev.ovh` instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jérémy Munsch](https://github.com/kwaadpepper)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~63 days

Recently: every ~118 days

Total

11

Last Release

1082d ago

Major Versions

0.1.0 → 2.0.02023-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d6fe69e010efceae2bd9a92eb6463139fff339c94c545b6b7b1210a00d963e4?d=identicon)[Kwaadpepper](/maintainers/Kwaadpepper)

---

Top Contributors

[![Kwaadpepper](https://avatars.githubusercontent.com/u/6019313?v=4)](https://github.com/Kwaadpepper "Kwaadpepper (6 commits)")

---

Tags

laravelemailexceptionpolicies

### Embed Badge

![Health badge](/badges/kwaadpepper-exception-handler/health.svg)

```
[![Health](https://phpackages.com/badges/kwaadpepper-exception-handler/health.svg)](https://phpackages.com/packages/kwaadpepper-exception-handler)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[jeremykenedy/laravel-exception-notifier

Laravel exception notifier will send an email of of the error along with the stack trace to the chosen recipients.

137264.9k](/packages/jeremykenedy-laravel-exception-notifier)[themonkeys/error-emailer

Emails you whenever an error occurs on your server

4916.6k](/packages/themonkeys-error-emailer)[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[osiemsiedem/laravel-autolink

A Laravel package for converting URLs in a given string of text into clickable links.

13126.3k](/packages/osiemsiedem-laravel-autolink)

PHPackages © 2026

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