spatie/email-concealer-cli
CLI tool to conceal email addresses in files by replacing their domains. Ideal for sanitizing production data like MySQL dumps before using them locally, so you can share or test with realistic data without storing real addresses.
user@example.com → user@dev.example.com) without regex complexity.spatie/email-concealer).jq/sed).For Executives: "This tool automates email obfuscation in production data, reducing compliance risks and accelerating secure dev workflows. For example, engineers can safely share MySQL dumps or logs locally without exposing real addresses—cutting manual effort and leak risks. It’s a lightweight, open-source solution with zero dependencies, aligning with our security and efficiency goals."
For Engineering:
*"Spatie’s email-concealer-cli is a 5-minute setup for masking emails in files (e.g., php artisan conceal:emails --file=production_dump.sql). It’s ideal for:
gmail.com with dev.example.com in Laravel’s .env or test data.
No Laravel? The CLI works standalone. Tradeoff: Last updated in 2017, but the core logic is stable and trivial to extend if needed."*How can I help you explore Laravel packages today?