Skip to content

Installation

Terminal window
composer require albertoarena/filament-event-sourcing

Register the plugin on your panel and opt in to the features you want:

use Albertoarena\FilamentEventSourcing\FilamentEventSourcingPlugin;
$panel->plugin(
FilamentEventSourcingPlugin::make()
->storedEventsResource() // the read-only Stored Events browser, off by default
->replayPage() // the projector replay page, off by default and also config gated
);

Publish the config if you need to change the defaults:

Terminal window
php artisan vendor:publish --tag="filament-event-sourcing-config"

See the Configuration reference for every option.