Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Model Auditlog Laravel Package

always-open/laravel-model-auditlog

Laravel Model AuditLog automatically tracks changes to your Eloquent models, recording creates, updates, and deletes with the data needed for a clear audit trail. Add lightweight, configurable history to models without cluttering your app logic.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Compliance and audit-trail requirements: laravel-model-auditlog automatically records create/update/delete history on Eloquent models. This directly supports features where "who changed what, when" is a product requirement — regulated workflows, financial records, healthcare data, admin back-office tooling, and customer-facing activity feeds.
  • Roadmap sequencing for Laravel upgrades: v10.0.0 adds Laravel 13 support. The major version bump signals a compatibility boundary rather than new end-user functionality, so this release is primarily an infrastructure/roadmap enabler: it unblocks teams planning a Laravel 13 migration without losing audit coverage or maintaining a fork.
  • Build vs. buy: Audit logging is commodity infrastructure with sharp edge cases (polymorphic relations, mass updates, soft deletes, console/job context, retention). Adopting a maintained package is almost always cheaper than building and owning this in-house.
  • Use cases to prioritize: admin action history, dispute/chargeback investigation, security forensics, GDPR/audit requests, and "recent activity" surfaces. This package is not a full event-sourcing or analytics platform, so don't scope it as one.
  • Upgrade decision for the current cycle: treat v10.0.0 as a scheduled dependency upgrade, not a feature bet. Budget a small spike to verify it on your Laravel version and confirm your audit schema/retention assumptions still hold.

When to Consider This Package

Consider adoption when:

  • You have (or expect) a compliance, audit, or forensic requirement on model data, and a homegrown updated_by column is already insufficient.
  • Your stack is Laravel with Eloquent models and you want audit capture without introducing an external service or event pipeline.
  • You need per-model change history including old/new values, and want it to live in your own database rather than a third-party SaaS.
  • You want the option to customize which models and attributes are tracked, and to read the log from application code.

Look elsewhere when:

  • You need event sourcing, replay, or state reconstruction — this is an audit log, not an event store.
  • You require tamper-evident or cryptographically verifiable logs (WORM storage, hash chaining, external SIEM) — plan for an append-only external sink alongside it.
  • You need high-volume, cross-service, or non-Eloquent auditing; a centralized logging/streaming platform is the better fit.
  • You are on a Laravel version outside the supported range. v10.0.0's headline change is Laravel 13 support, and the major bump implies the compatibility matrix has moved — verify your version before committing, and expect to pin to v9.x if you are not ready to upgrade Laravel.
  • Your team cannot absorb an upgrade during the current cycle; a major version bump on a package that touches every write path deserves a regression pass on audit completeness.

How to Pitch It (Stakeholders)

To executives: We get a maintained audit trail for our application data at effectively zero build cost. The v10.0.0 release keeps us current with the newest Laravel version, which protects our upgrade path and avoids a fork or a rewrite later. It's a low-cost risk reduction for compliance and incident investigation — not a new product surface.

To engineering: v10.0.0 is a compatibility release adding Laravel 13 support; the major version signals a supported-version boundary, so check it against our current framework version and pin deliberately. Action items: confirm our models and tracked attributes are still covered, run a regression check that create/update/delete events are captured (including bulk and job-driven writes), and validate retention/PII handling before rollout. If we're not on Laravel 13 yet, staying on v9.x is a valid, low-risk choice until the upgrade window opens.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin