infinety / audit-logger
A Laravel package for real-time audit trails with replay functionality
1.2
2025-01-31 20:50 UTC
Requires
- php: ^8.1
- illuminate/support: ^9.0|^10.0|^11.0|^12.0
Requires (Dev)
- laravel/pint: ^1.0
- orchestra/testbench: ^8.31
- pestphp/pest: ^1.0
- phpunit/phpunit: ^9.4|^10.1|^11.5
This package is auto-updated.
Last update: 2025-04-29 01:30:14 UTC
README
A Laravel package for real-time audit trails with replay functionality. Easily log model changes (create, update, delete), store attribute diffs, and optionally revert models to previous states.
Features
- Real-time auditing of any Eloquent model
- JSON-based diffs for old vs. new values
- Replayer service to restore or "time travel" a model to a previous state
- Configurable via a published config file
- Sensitive field redaction (e.g., passwords, credit cards)
Installation
Require this package via Composer:
composer require infinety/audit-logger