Essentials

Core Concepts

Builder, sources, entries, and renderers.
ConceptWhat it represents
TimelineBuilderFluent builder that composes sources, applies filters, and returns paginated TimelineEntry collections. Built per-record via $record->timeline().
TimelineSourceProduces TimelineEntry objects from a single origin - spatie log, related timestamps, or custom closure.
TimelineEntryImmutable value object describing one event (event, occurredAt, title, causer, properties, …).
TimelineRendererConverts a TimelineEntry into a Blade View or HtmlString. Register custom ones per event or type.
PriorityEach source carries a priority; on dedupKey collisions the higher one wins.

Default source priorities

SourcePriority
activity_log10
related_activity_log10
related_model20
custom30
Copyright © 2026