php-shark-tank/anonymizer-bundle
Symfony bundle for anonymizing sensitive data before storage or sharing. Helps mask personal information in entities and datasets so applications can meet privacy and GDPR requirements with less custom code.
Adopt when:
Look elsewhere when:
faker-based fixture generator already covers your needs.For executives: This is an open-source data-anonymization library reaching a 1.0 integration milestone. Adopting it reduces privacy/compliance risk (GDPR, CCPA) by letting us mask personal data before it reaches non-production environments or third parties — without building and maintaining bespoke scrubbing code. Low cost, mature upstream project, configurable to our policy needs. The 1.0 is Symfony-oriented; a small amount of Laravel glue work is required, which we should scope.
For engineering: The 1.0 release adds a Symfony bundle around the PHPSharkTank Anonymizer core, with toggles for caching, loader, and exclusion strategies. The configurable exclusion strategies are the useful part — they let you declare what to keep (e.g., IDs for join integrity) versus what to scrub. For Laravel, plan to consume the core library directly and wrap it in a service provider + config; the Symfony bundle is a useful reference for wiring and configuration shape but is not drop-in.
Recommendation: Evaluate the core library now for any PII-in-non-prod or data-sharing initiative; do not assume Laravel support from this release. Track upstream for a Laravel integration or budget a thin internal adapter.
How can I help you explore Laravel packages today?