spatie/email-concealer
Replaces email domains in any string (e.g., dumps) to safely use production data locally without real addresses. Create a Concealer and call conceal(): info@spatie.be becomes info@example.com. Simple, fast, and handy for anonymizing text.
example.com), reducing risk of accidental leaks.Adopt if:
spatie.be → example.com).user*@domain.com).Look elsewhere if:
For Executives: "This package lets us instantly mask real email addresses in logs, exports, and demos—reducing compliance risks and accidental data leaks without rewriting systems. It’s a 5-minute setup with zero ongoing cost, saving dev time while meeting GDPR/CCPA needs. Think of it as a ‘data anonymizer’ for strings, like a turnkey privacy layer for production-like environments."
For Engineering:
*"Spatie’s email-concealer is a lightweight PHP package that replaces email domains (e.g., user@spatie.be → user@example.com) in any string. It’s perfect for:
How can I help you explore Laravel packages today?