CrashGuard: Exception Alerts for Laravel, Without the Alert Flood
A new Laravel package for catching production exceptions with deduplication and a circuit breaker, so one failing endpoint can't flood your inbox.

Overview
I just released CrashGuard, a small Laravel package for catching production exceptions and getting notified about them without drowning in duplicates.
I built it because the usual failure mode of error alerting is the same: one broken endpoint fires hundreds of identical emails, and you start ignoring all of them.
What it does
CrashGuard captures exceptions (or plain string messages) and saves them to your database. It deduplicates by fingerprint, so one unique error is one row, with an occurrence count that goes up on repeats.
It sends queued notifications to Slack and mail, so alerts never slow down a request. A circuit breaker with per-error and global daily limits ensures a failing endpoint can’t flood you.
You can classify exceptions with PHP 8 attributes:
#[UrgentCrashReport]— always notifies#[SilentCrashReport]— stores only#[IgnoreCrashReport]— skips
It also tracks the report lifecycle: resolve, ignore, or snooze a report.
Hooking it up
Getting started takes a few lines in bootstrap/app.php:
$exceptions->report(function (\Throwable $e) {
CrashGuard::report($e);
});
It needs PHP 8.4+ and Laravel 12 or 13, and it comes with Artisan commands for testing, status, and cleanup.
Quick start: Install via Composer, run the migration, and add the reporter to your exception handler. Check the repo for the full setup guide.
Why it matters
The problem CrashGuard solves is familiar: error alerting works great until it doesn’t. A single 500 error on a high-traffic endpoint can generate hundreds of identical notifications in minutes. After that, you stop trusting your alerts entirely.
By deduplicating exceptions and using a circuit breaker, CrashGuard ensures you get notified about unique errors without being overwhelmed by repeats. The per-error and global daily limits mean even a truly broken endpoint can’t flood your inbox.
Repo and docs
The code is open source on GitHub: github.com/T-Labs-Co/crash-guard
More packages
This is the third package I maintain, alongside Command Scheduler and Laravel Cleanup Data.
If CrashGuard is useful to you, a coffee here helps keep all three up to date. If you find a bug or have a feature idea, open an issue on GitHub.
More packages: https://tyhuynh.id.vn/libraries
Legal Notice
This is an independently written summary and technical commentary. Original reporting belongs to its respective author and publisher. All trademarks belong to their respective owners.
For copyright or takedown requests, contact hongty.huynh@gmail.com or visit the Legal Disclaimer page.