Skip to main content
Back to packages
3,440 GitHub stars

owen-it/laravel-auditing

View on GitHub

Description

Record the change log from models in Laravel

Once the package is installed, you can quickly and easily set up auditing for your Laravel application.

<?php
 
namespace App;
 
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
 
class User extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable;
 
// ...
}

By default, the Database audit driver will be used. If needed, you can also implement your own Audit Driver.