Activity Log

This is the user activity panel. From here you can see all the activity of this applications. To enable activity log for a model, you need to use this AuditableTrait and Auditable Contracts like that:

<?php

namespace App\Models;

use App\Helpers\Watcher;
use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Auditable as AuditableTrait;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Address extends Model implements Auditable
{
    use AuditableTrait;

    protected $fillable = [
        'address_title',
        'address_type',
        'address_line_1',
        'address_line_2',
        'city',
        'state_id',
        'country_id',
        'zip_code',
        'phone',
        'addressable_id',
        'addressable_type',
        'latitude',
        'longitude',
    ];
}

Activity Log

image