nietthijmen/laravel-audit-trail

Laravel audit trail

Fund package maintenance!
NietThijmen
Buymeacoffee

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 2

pkg:composer/nietthijmen/laravel-audit-trail

1.0.0 2025-04-14 12:17 UTC

README

This is a really really basic audit trail implementation I made for school.

Should never ever ever be used in Production environments

Installation

composer require nietthijmen/laravel-audit-trail
php artisan vendor:publish --provider "NietThijmen\LaravelAuditTrail\LaravelAuditTrailServiceProvider" --tag="audit-trail-provider"
php artisan vendor:publish --provider "NietThijmen\LaravelAuditTrail\LaravelAuditTrailServiceProvider" --tag="audit-trail-migrations"

Usage

Add the following interface to your models:

NietThijmen\LaravelAuditTrail\Contracts\Auditable;
- class User extends Authenticatable {
+ class User extends Authenticatable implements Auditable {