PHPackages                             meita/debuger - 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. meita/debuger

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

meita/debuger
=============

Laravel package that hides technical error details from end users and emails full reports.

1.0.4(5mo ago)029MITPHPPHP &gt;=8.0

Since Dec 16Pushed 5mo agoCompare

[ Source](https://github.com/EngMEita/debuger)[ Packagist](https://packagist.org/packages/meita/debuger)[ RSS](/packages/meita-debuger/feed)WikiDiscussions main Synced 1mo ago

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

Debuger
=======

[](#debuger)

Laravel package that replaces the default exception handling flow with a friendly error page for end users while emailing the full stack trace and request context to you.

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

[](#installation)

1. Require the package:

```
composer require meita/debuger
```

2. (Optional) Publish the config and views:

```
php artisan vendor:publish --tag=debuger-config
php artisan vendor:publish --tag=debuger-views
```

The service provider is auto-discovered. No manual registration is needed.

Configuration
-------------

[](#configuration)

Set your desired values in `config/debuger.php` or via environment variables:

- `DEBUGER_ENABLED` (default `true`) – turn the package on or off.
- `DEBUGER_USER_MESSAGE` – text shown to users instead of the real error.
- `DEBUGER_MAIL_TO` – recipient(s) for exception reports (required to send emails). Supports a single address or a comma/semicolon separated list.
- `DEBUGER_MAIL_SUBJECT` – subject prefix for exception emails.
- `DEBUGER_MAIL_FROM` – optional from address for outgoing reports.
- `DEBUGER_MAIL_IN_CONSOLE` (default `true`) – send emails for exceptions thrown from CLI (queue workers, scheduler, artisan, ...).
- `DEBUGER_REFERENCE_PREFIX` – prefix for the generated reference id.

Note: the config also supports the common `DEBUGGER_*` env var spelling as a fallback.

Behavior
--------

[](#behavior)

- For 5xx errors, users see a clean HTML page (or a minimal JSON payload for API requests) with no technical details, plus an incident reference.
- A detailed email is sent for reportable 5xx exceptions containing the message, location, stack trace, and request context (headers and sanitized input fields).
- Exceptions below 500 (e.g., 404/422) fall back to Laravel's normal handling.
- The package replaces Laravel's exception handler binding; set `DEBUGER_ENABLED=false` to revert to the default behavior without uninstalling.

Notes
-----

[](#notes)

- Input fields listed in `hidden_fields` are stripped from the email to avoid leaking secrets.
- Email failures are logged but will not break the response to the user.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance73

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Total

5

Last Release

152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5915383ac10e7c148c23e142195199c8e7909acc2cda2003c26e688090956014?d=identicon)[EngMEita](/maintainers/EngMEita)

---

Top Contributors

[![EngMEita](https://avatars.githubusercontent.com/u/11925529?v=4)](https://github.com/EngMEita "EngMEita (5 commits)")

---

Tags

laravelemailexceptionerrorhandler

### Embed Badge

![Health badge](/badges/meita-debuger/health.svg)

```
[![Health](https://phpackages.com/badges/meita-debuger/health.svg)](https://phpackages.com/packages/meita-debuger)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[themonkeys/error-emailer

Emails you whenever an error occurs on your server

4916.6k](/packages/themonkeys-error-emailer)[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)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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