Skip to main content

Filament Plugin

laravel-chronicle/filament is a read-only Filament v4/v5 panel for Chronicle. It lets you browse the tamper-evident audit ledger and cryptographically verify it - across the whole chain, a single entry, or a selected segment - directly from your admin panel. By design the panel can never rewrite history.

Requirements

RequirementSupported
PHP8.2, 8.3, 8.4, 8.5
Laravel12, 13
Filament4, 5
laravel-chronicle/core1.13+
PHP extensionsext-sodium, ext-openssl

Install

composer require laravel-chronicle/filament
php artisan migrate

php artisan migrate creates the plugin's verification result store table (chronicle_filament_verification_records). The migration is autoloaded - no publish step is required.

The config file is optional:

php artisan vendor:publish --tag=chronicle-filament-config

Register on a panel

Add the plugin to your Filament panel provider:

use Chronicle\Filament\ChronicleFilamentPlugin;

$panel->plugin(
ChronicleFilamentPlugin::make()
->navigationGroup('Audit')
->verification(true)
// Gate the verify actions independently of read access:
->authorize(fn (): bool => auth()->user()?->can('verify-chronicle') ?? false),
);

Read (view) access is governed by your panel's normal authorization. The ->authorize() closure gates only the chain/entry/segment verify actions, not browsing.

The v1.1 external-anchoring surfaces follow core anchoring - they stay hidden unless chronicle.anchoring.enabled is on (override with ->anchoring(true|false)), and need core anchoring configured (RFC 3161 TSA or the S3 Object Lock adapter) to show anything.

See also