mnarushevich / laravel-audit-logs
There is no license information available for the latest version (v0.0.2) of this package.
A Laravel package for audit logging
v0.0.2
2025-03-13 16:33 UTC
Requires
- php: >=8.4
- illuminate/database: ^12.1
- illuminate/support: ^10.0 || ^12.1
This package is auto-updated.
Last update: 2025-03-13 16:38:45 UTC
README
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;