superbrave/gdpr-bundle
Symfony bundle for GDPR compliance that helps anonymize personal data in Doctrine entities and automate right-to-be-forgotten workflows. Configure fields, run console commands, and keep user records compliant without custom cleanup code.
Consider it when:
Look elsewhere (or build in-house) when:
spatie/laravel-personal-data-export for export, and hand-rolled anonymization (Spatie's package deliberately does not do erasure).Verdict: treat as a design reference and code to borrow, not a dependency. Budget a fork-and-own spike, not an install.
For executives (one paragraph): We need a defensible answer to "export my data" and "delete my data" — these are legal obligations under GDPR, and they are the two questions that most often stall enterprise security reviews. An open-source PHP component (superbrave/gdpr-bundle, MIT) already models this well: you tag personal-data fields in your schema, and it generates export and anonymization behavior from those tags. It is old and minimally maintained, so I do not recommend adopting it as a live dependency. I recommend a short spike to borrow its approach — roughly 1–2 weeks of engineering — and ship a first-party, auditable version we own. This gives us the capability without inheriting an unmaintained dependency, and the annotation inventory doubles as the data map our DPO keeps asking for.
For engineering (the honest version):
require.How can I help you explore Laravel packages today?