To use Laravel Auditable, update your model's migration and add created_by and updated_by field.

Example Migration

Schema::create('users', function (Blueprint $table) {
    $table->string('name', 100);

Then use AuditableTrait on your model.

Example Model

namespace App;

use Yajra\Auditable\AuditableTrait;

class User extends Model
    use AuditableTrait;

And your done! The package will now automatically add a basic audit log for your model to track who inserted and last updated your records.