johnwilhite/laravel-flare-scrubber
Laravel service provider to scrub sensitive request data before reporting errors to Flare. Recursively sanitizes matching keys or values via exact keys, key regex, or value regex, with configurable replacement text (default SANITIZED).
Adopt if:
Look elsewhere if:
password), making regex/config overhead unnecessary.laravel-sanctum or tymon/jwt-auth.For Executives: "This package lets us automatically redact sensitive data (like credit card numbers or SSNs) from error logs sent to Flare, reducing compliance risk without slowing down debugging. It’s a 10-minute config change that could save us from costly data leaks or audit failures. Think of it as ‘set-and-forget’ security for our error monitoring."
For Engineering/DevOps:
"Flare is great for debugging, but it can accidentally expose PII in error reports. This package adds recursive scrubbing for keys/values (e.g., ssn, regex patterns) via a simple config/flare.php. It’s lightweight, MIT-licensed, and plays nicely with Flare’s existing workflow. We can start with high-risk fields (passwords, tokens) and expand the config as needed—no code changes required."
For Security/Compliance:
"This addresses a gap in Flare’s native scrubbing by handling nested arrays and dynamic keys (e.g., user[profile][ssn]). The config-based approach lets us adapt to new regulations without code deployments. For example, we can add value_regex for credit card patterns or key_regex for API keys. It’s a scalable way to meet GDPR/HIPAA requirements for error logging."
How can I help you explore Laravel packages today?