mnarushevich / laravel-audit-logs
There is no license information available for the latest version (v0.0.3) of this package.
A Laravel package for audit logging
v0.0.3
2025-08-08 13:54 UTC
Requires
- php: ^8.2
- illuminate/database: ^11.0 || ^12.0
- illuminate/support: ^11.0 || ^12.0
Requires (Dev)
- orchestra/testbench: ^9.0 || ^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- rector/rector: ^2.1
This package is auto-updated.
Last update: 2025-08-08 13:57:15 UTC
README
Requirements
- PHP ^8.2
- Laravel ^11.0 || ^12.0
How to use
- Install the package via composer:
composer require mnarushevich/laravel-audit-logs
- Publish migrations:
php artisan vendor:publish --provider="MNarushevich\AuditLogs\AuditLogsServiceProvider" --tag="migrations"
- Publish config (optional):
php artisan vendor:publish --provider="MNarushevich\AuditLogs\AuditLogsServiceProvider" --tag="config"
- Run migrations:
php artisan migrate
- In your model use
MNarushevich\AuditLogs\Traits\HasAuditLogs
trait:
use MNarushevich\AuditLogs\Traits\HasAuditLogs;