lucajackal85/pii-sanitizer-symfony
PII Sanitizer for Symfony helps detect and redact personally identifiable information in logs, requests, and stored data. Configure sanitization rules to protect sensitive user data and support GDPR and privacy compliance.
Consider it when:
Look elsewhere when:
composer require + auto-discovery to just work — this bundle's namespace and service wiring are Symfony-shaped; plan for a port or a different package.use statements and DI config. Fine for internal greenfield, costly for a shared platform library consumed by many teams.Concrete adoption criteria before committing: pin to ^0.2, add a characterization test suite over representative payloads (including false-negative cases), wrap the sanitizer behind an internal interface so the vendor can be swapped, and document the 0.1.2 → 0.2.0 namespace migration (Jackal\PiiSanitizer\Bundle) in the upgrade notes.
For executives (one paragraph): We evaluated an open-source component that automatically strips personal data — names, emails, identifiers — from logs and message payloads before they leave our system. It supports the privacy commitments we already make to customers and unblocks compliance-dependent roadmap items (audit trails, third-party error monitoring, AI features that must not see raw customer data). It is not a drop-in for our Laravel codebase — it targets Symfony — so the realistic play is to reuse its ruleset behind a thin internal wrapper rather than adopt it wholesale. Cost is small and bounded; the alternative (building and maintaining redaction ourselves) is larger and ongoing.
For engineering: This is a Symfony bundle, pre-1.0, single maintainer. v0.2.0 renamed the namespace to Jackal\PiiSanitizer\Bundle — a breaking change with no deprecation path, which tells us to expect more of the same before 1.0. Recommend: pin exactly, vendor the source or wrap it behind our own PiiSanitizer contract, and write tests against representative payloads so a silent regression in matching rules fails our CI rather than leaking data. Do not let it become a shared platform dependency until it reaches 1.0 or we own the fork.
How can I help you explore Laravel packages today?