Laravel Chronicle is a package that implements tamper-evident audit logging using a SHA-256 cryptographic hash chain. Each ledger entry incorporates a hash of the previous one, making any alteration or deletion detectable. It provides a fluent API for recording entries with actor, action, subject, metadata, and tags. Features include query scopes, cursor-based streaming for large ledgers, signed checkpoints for point-in-time snapshots, and exportable signed datasets for external auditors. It suits compliance workflows, financial records, and security logging use cases.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# Getting Started# Writing to the Ledger# Querying Entries# Proving the Ledger Hasn't Changed

Sort: