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 Audit Log Laravel Package

itmosoft/laravel-audit-log

A lightweight Laravel audit log package that automatically tracks Eloquent model changes. It records create, update, and delete events with old/new values, user attribution, and timestamps, making it easy to see who changed what and when. Configurable and simple to install.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for audit logging: Use this package when the need is standard Laravel model/activity auditing rather than a core differentiator. It avoids building and maintaining custom audit tables, event hooks, actor attribution, and query helpers.
  • Roadmap acceleration for security and compliance features: Supports near-term roadmap items such as admin activity history, change tracking, support investigation tooling, and basic audit evidence for internal controls.
  • Feature scoping for admin and support workflows: Actor attribution, activity grouping, and queries by subject/actor/event/date range enable “who changed what, when, and why” views without bespoke schema work.
  • Operational visibility: Optional queue lifecycle auditing can help diagnose asynchronous job behavior if the team already runs Laravel queues.
  • Risk reduction in custom code: Sensitive attribute filtering and configurable storage reduce the chance of leaking secrets into audit records or hard-coding audit infrastructure.
  • Adoption decision: Reasonable for Laravel 12/13 applications on PHP 8.3+ that need pragmatic audit history quickly. Less suitable as the sole solution for regulated, high-volume, or tamper-evident audit requirements.

When to Consider This Package

Consider adoption when:

  • The application is on Laravel 12 or 13 and PHP 8.3+.
  • The team needs basic audit history for Eloquent create/update/delete events, manual application events, or both.
  • Product requirements include actor attribution, activity grouping, and querying audit entries by subject, actor, event, or date range.
  • The team wants Laravel-native integration: Composer install, package auto-discovery, automatic migration loading, publishable config, and configurable table/connection.
  • Sensitive-field exclusion is required for audit records.
  • Queue auditing is optional and the team already has a queue worker.
  • The organization accepts a v1.0.0 package from a smaller vendor after normal due diligence.

Look elsewhere or plan to build/extend when:

  • The application is on older Laravel/PHP versions.
  • Requirements include immutable/WORM storage, cryptographic tamper evidence, formal compliance certification, retention automation, legal hold, or exportable evidence packages.
  • The audit trail is a core product capability or must support high-volume analytics, real-time alerting, or multi-tenant isolation guarantees.
  • The team needs a mature vendor with an SLA, long track record, or extensive ecosystem integrations.
  • Audit records must be enriched with request metadata, IP/user-agent capture, before/after diffs, approval workflows, or a built-in UI—none are stated in this release.

How to Pitch It (Stakeholders)

For executives: This is a low-effort, Laravel-native audit logging package that can accelerate delivery of basic activity history, internal accountability, and investigation tooling. It is stable at v1.0.0 with a passing test suite and no known security advisories at release time. It is a pragmatic “buy” for standard audit needs, but it is not a complete compliance or forensics platform; retention, immutability, and enterprise controls should be evaluated separately.

For engineering: Adopt via Composer with minimal integration effort: auto-discovery, migration, and optional config publishing. It covers model events, manual events, actor attribution, activity grouping, sensitive-field filtering, configurable storage, and optional queue auditing. Treat it as an application-level audit trail, not an immutable system of record. Validate performance at expected write volume and confirm the audit table’s retention/backup strategy before production rollout.

For product/security/compliance stakeholders: The package can support MVP and internal-control use cases quickly, especially where “who changed what” visibility is needed. Before positioning it as compliance-grade, confirm requirements for tamper evidence, retention, access controls, export, and audit review workflows. If those are mandatory, plan complementary controls or a dedicated audit platform.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource