mintbridge/eloquent-auditing
Eloquent auditing for Laravel models that records create, update, and delete events with the changed attributes, old and new values, and the responsible user, so you can review a full, queryable history of every record directly from your database.
Request removes per-write boilerplate from every model/service that audits, and allowing ip_address to be NULL unblocks non-HTTP write paths — queue workers, scheduled commands, artisan/console actions, and seeders. That directly enables decisions like "audit changes made by background jobs" and "audit during CLI-driven migrations/backfills," which previously would have failed or required dummy data.For executives: This is a small open-source Laravel component that records changes to our database records — who touched what, when, and from where. The new release makes it usable in background jobs and automated processes, not just when a person clicks something in the browser, and it stops forcing us to store an IP address when there isn't a meaningful one to store (a privacy and correctness win). It's early-stage software (version 0.0.5), so the recommendation is to pilot it behind an admin-facing feature rather than make it a compliance dependency.
For engineering: v0.0.5 makes ip_address nullable and auto-fills it from the current Request, so auditing no longer breaks or requires manual plumbing in console, queue, and scheduled contexts. Adopt it for admin-action auditing if you're comfortable pinning a 0.0.x package; validate that audit writes don't silently fail inside model events, and confirm the null-IP path is acceptable for your retention and privacy requirements before relying on it for any regulated record-keeping.
How can I help you explore Laravel packages today?