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 Auditable Laravel Package

pharaonic/laravel-auditable

Laravel package that adds auditable traits to Eloquent models, automatically tracking create, update, and delete events with before/after diffs, user attribution, and configurable storage so every change is recorded and easy to review.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for audit trails: This package replaces the default "write our own observers + audit table" project. That is typically 1–3 sprints of engineering plus ongoing maintenance; adopting a package shifts that to configuration and review.
  • Compliance and accountability roadmap: Supports features that require knowing who changed what, when, and from where — regulated data edits, financial/records changes, admin-panel actions, and customer-support "who changed this record?" questions.
  • Incident forensics and support tooling: Enables debugging and dispute resolution ("this record was modified on Tuesday by user X") without instrumenting each model individually.
  • Scope discipline for the product team: Lets you promise auditability as a checkbox capability in enterprise deals while keeping engineering focused on core product rather than on a homegrown history subsystem.
  • Release cadence signal (1.1.5): A config-only cleanup release — no new features, no API changes. This reads as housekeeping, which is a positive maintenance signal and means near-zero upgrade cost. Verify only whether your app publishes/overrides the package config, since removed config keys can surface as stale overrides.
  • Roadmap caution: Treat this as a model-level change log, not a compliance-grade audit system. If a deal requires tamper-evidence, immutable storage, legal hold, or retention policy enforcement, scope that as a separate workstream rather than assuming this package covers it.

When to Consider This Package

Consider adoption when:

  • The application is Eloquent-centric and the audit need is "change history per record" rather than full system event capture.
  • You want a self-hosted, database-backed trail inside the existing Laravel stack — no new infrastructure, no external log pipeline.
  • The team is small and the alternative is writing and maintaining custom observers, migrations, and serialization logic.
  • The requirement is internal accountability and support forensics, not externally certified compliance evidence.

Look elsewhere when:

  • You need tamper-evident or append-only guarantees (hashing, WORM storage, external notarization), formal retention/legal-hold rules, or audit exports suitable for regulators/auditors.
  • Volume is very high and writes must go to a streaming/columnar store rather than the primary database.
  • A significant portion of data changes bypass Eloquent (raw queries, bulk imports, jobs, other services), which would leave gaps in the trail.
  • You need a ready-made review UI, diffs dashboard, or approval workflows — this is a persistence layer, not an end-user product.
  • Strict multi-tenant isolation of audit data requires guarantees the package does not explicitly document; verify before committing.
  • Long-term dependency risk is unacceptable for a core compliance control — in that case, own the schema and keep the package as an implementation detail.

How to Pitch It (Stakeholders)

To executives: This is a small, low-risk dependency that gives us record-level change history — who changed what, when — without a custom build. It directly supports auditability asks in enterprise and regulated deals, and it removes a recurring "we should really log this" backlog item. Version 1.1.5 is a cleanup release with no functional changes, so there is no migration or retraining cost; the only action is confirming our config overrides still match.

To engineering: Adopt it as the audit mechanism for a pilot set of high-value models, behind a short spike to confirm it covers our write paths (including any non-Eloquent writes), our multi-tenant boundaries, and our data-retention expectations. Assume it is a change log, not a compliance system — treat immutability, retention, and export requirements as separate design work. Upgrade risk for 1.1.5 is effectively nil; review the published config for removed keys.

Recommendation: Pilot on two or three sensitive models, document the gaps against compliance requirements, and decide within one sprint whether it becomes the standard audit mechanism or only an internal forensics aid.

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.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk