Waypoint 2.4: batches and exports

Audit logs for Laravel in one line

Know who changed which record, when, and from which value to which. Add one trait to your Eloquent models and Waypoint writes the audit trail for you.

php
use Waypoint\Auditable;

class Invoice extends Model
{
    use Auditable;
}

$invoice->update(['status' => 'paid']);
$invoice->activities()->first()->changes; // ['status' => ['old' => 'open', 'new' => 'paid']]

Everything an audit log needs, nothing it doesn't

White line icon: layers

One trait per model

Creates, updates, deletes and restores are logged with their old and new values.

White line icon: shield

Knows the causer

Every activity stores the user who made the change, from any auth guard.

White line icon: clock

Custom events

Log logins, exports and approvals next to the model changes.

White line icon: gauge

Queued writes

Write activities on a queue so your requests stay fast.

White line icon: refresh

Pruning built in

Delete old activities on a schedule with a retention period per event.

White line icon: code

Testable

Fake the audit log in your tests and assert exactly what was written.

1.2M

Installs on Packagist

3.4k

Stars on GitHub

11–13

Supported Laravel versions

0

Observers to write

Find your way around

White line icon: zap

Getting started

Install Waypoint and log your first changes in five minutes.

White line icon: book

Guides

Custom events, pruning and testing step by step.

White line icon: terminal

API reference

Every trait, method and Artisan command in detail.

Add an audit trail to your app today

Require Waypoint with Composer and follow the quickstart. It takes about five minutes.