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(6mo ago)031MITPHPPHP &gt;=8.0

Since Dec 16Pushed 6mo agoCompare

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

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

33

—

LowBetter than 72% of packages

Maintenance66

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

197d 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

6023.0M7](/packages/propaganistas-laravel-disposable-email)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M305](/packages/laravel-horizon)[illuminate/notifications

The Illuminate Notifications package.

513.1M1.1k](/packages/illuminate-notifications)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)

PHPackages © 2026

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