Download the PHP package ghonaim/filament-audit-logger without Composer
On this page you can find all versions of the php package ghonaim/filament-audit-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ghonaim/filament-audit-logger
More information about ghonaim/filament-audit-logger
Files in ghonaim/filament-audit-logger
Package filament-audit-logger
Short Description Production-ready audit & activity logger plugin for FilamentPHP v3 — tracks Eloquent model changes and admin panel user activity.
License MIT
Informations about the package filament-audit-logger
Filament Audit & Activity Logger
Production-ready audit logging for FilamentPHP v3. Tracks Eloquent model create/update/delete/restore events and admin panel activity, zero external logging dependency.
Installation
Register the plugin in your panel provider:
Usage
Attach the trait to any model you want tracked:
Browse Audit Logs in the admin nav. Filter by user, action, model type,
date range, IP. Click a row to open the diff view (old vs new values,
side by side, changed fields highlighted).
Configuration
See config/filament-audit.php — retention window, critical actions,
navigation placement, export disk, globally excluded attributes
(password, tokens, etc. are stripped by default), and the authorization
gate name (view-audit-logs).
Bind the gate in an AuthServiceProvider:
Pruning
Auto-scheduled daily at 02:00 when prune.auto_schedule is true.
Export
Use the "Export" header action on the Audit Logs table (CSV/Excel). The
export dispatches ExportAuditLogsJob onto the queue — configure
QUEUE_CONNECTION for real async behavior; the file lands on the disk set
in filament-audit.export.disk.
Customization
- Swap the diff view: publish
resources/views/vendor/filament-auditand editcomponents/diff-viewer.blade.php. - Add custom metadata per model by overriding
auditMetadata(). - Change the acting-user guard via
filament-audit.user_guard.
All versions of filament-audit-logger with dependencies
filament/filament Version ^3.2
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.16
maatwebsite/excel Version ^3.1