rcsofttech/audit-trail-bundle
A Laravel package for tracking model changes and building audit trails. It records who changed what and when, supports configurable logging of create, update, and delete events, and helps teams review activity across their application.
Adopt when all of these hold:
AuditTrailBundle and it hooks Doctrine entity lifecycle events. It does not apply to Laravel or Eloquent without a port.Look elsewhere when:
spatie/laravel-activitylog and owen-it/laravel-auditing; both are Eloquent-native, far more widely deployed, and have real dependent counts. Using this bundle in a Laravel codebase means pulling in Doctrine purely for auditing — a poor architectural fit.To executives: Audit trails are a compliance control that shows up in nearly every enterprise security review. This package is MIT-licensed and gives us the core mechanism — capture entity changes, mask sensitive fields, defer persistence — instead of building it. The upside is schedule: it can convert a custom engineering line item into an integration task ahead of a compliance milestone. The caveat is vendor risk: the project has essentially no adoption yet, so we should treat it as a design we adopt and own, not a dependency we lean on.
To engineering: It's a Symfony/Doctrine bundle that listens to entity lifecycle events and splits capture from persistence, with HTTP, queue, and Doctrine transports and field-level masking at capture. The split-phase shape is the useful part — it keeps audit writes off the request path and makes the transport swappable. Two things to weigh honestly: it's Doctrine-only, so it doesn't help our Eloquent surface, and with zero dependents we'd be among the first production users. Recommended posture: prototype it in a sandbox, borrow the architecture if it fits, and budget for owning the code rather than assuming upstream support.
How can I help you explore Laravel packages today?