data-dog/audit-bundle
Doctrine ORM audit logging bundle for Symfony that records inserts, updates, diffs, and many-to-many relation changes in the same transaction as flush, links entries to the token storage user, and supports per-entity and per-field include/exclude config.
audited_entities, unaudited_entities) is properly honored, allowing teams to tailor audit coverage to specific entities without custom code.Adopt if:
Look elsewhere if:
flush).For Executives: "This package automates compliance-ready audit logging for our Symfony/Doctrine database changes—inserts, updates, and relationship edits—without manual coding. It reduces risk by tracking who made what changes and when, while cutting development time by 80% compared to a custom solution. For $0 cost (MIT license), we gain a critical tool for debugging, security audits, and regulatory reporting. The transactional design ensures data consistency, and the open-source community backs it with 136+ stars. Recent releases (v1.3.2) show active maintenance, including configurable entity-level auditing to match our audit scope precisely."
For Engineers:
"The DataDog Audit Bundle is a lightweight, zero-config (post-schema-setup) way to log all Doctrine ORM changes—including diffs and user attribution—via a single transaction. It’s battle-tested, integrates seamlessly with Symfony, and handles edge cases like relation changes. As of v1.3.2, the audited_entities and unaudited_entities configuration is properly honored, giving you entity-level control over what gets logged. Tradeoff: It doesn’t cover raw SQL/DQL or field-level exclusions, but that’s a small price for the compliance and debugging value. Setup is a one-time migration, and the MIT license means no vendor lock-in."
How can I help you explore Laravel packages today?