Ledgerly
Structured audit logging for Laravel applications. Record business events, track workflows, and build activity timelines.
Why Ledgerly?
Immutable Logs
Entries are never modified, ensuring reliable audit trails.
Structured Data
Actions, metadata, and diffs are stored in a predictable format.
Transactions
Group related events and reconstruct workflows easily.
Extensible
Add metadata resolvers, context providers, and integrations.
Example
ledgerly()
->actor(auth()->user())
->target($invoice)
->action('invoice.updated')
->withDiff([
'amount' => [1200, 1450],
])
->log();