A model change tracking library for Laravel.

dev-master 2020-01-24 22:04 UTC

This package is auto-updated.

Last update: 2020-01-24 22:06:44 UTC


The module provides an auditing system for changes to Laravel models.

Creation, update and delete events are stored in an audit log (tracking any changes and the user that made them).

Simply give the model you want to audit the IsAudited trait from CoolStudio\Auditor\Traits\IsAudited. Give your user model the CanModify trait from CoolStudio\Auditor\Traits\CanModify to access a users changes via $user->auditModifications.

History is stored on a table called auditor_audits, accessible through the model Audit at CoolStudio\Auditor\Models\Audit.