alexjustesen/filament-spatie-laravel-activitylog
A Filament plugin that integrates spatie/laravel-activitylog, adding an activity log resource so you can browse, filter, and inspect model changes and user actions directly from your admin panel. Includes customizable tables, filters, and detail views out of the box.
What this package is. alexjustesen/filament-spatie-laravel-activitylog is a thin Filament plugin that surfaces records from spatie/laravel-activitylog as a Filament resource — a read-oriented admin UI over an existing, well-adopted Laravel audit-trail library. It is not itself an audit engine; it is a presentation layer. That distinction drives most of the risk profile below.
Architecture fit. Fits cleanly if we are already standardized on Filament for admin surface and Spatie Activity Log for audit capture. Because the package owns no schema and no write path, it is architecturally "shallow" — a resource, table, and filters over someone else's model. Replacing it with ~1–2 days of hand-written Filament resource code is always a viable exit. That caps downside and makes it a low-coupling dependency. If we are not on Filament, or if our audit strategy is event-sourced/custom, this package has no role.
v0.7.0 change. The substantive change is Filament v3 support (PR #52, plus a README update for v3). The remaining items are Dependabot bumps to the fetch-metadata GitHub Action — CI hygiene, not runtime code. This is a meaningful release: it moves the package's supported platform from Filament v2 to v3.
Integration feasibility. Straightforward: Composer install, register the plugin on a panel, ensure the activity_log table is migrated and populated. No service providers to wire by hand, no config surface of consequence, no data migration. Onboarding cost is measured in hours for a developer already fluent in Filament.
Technical risk.
composer.json constraints before adopting — this is the single most important unknown. If we are pinned to Filament v2 anywhere, v0.7.0 may be unusable or may silently constrain us.activity_log rows are written by Spatie, not by this package.Key questions for the maintainer or our own spike.
composer.json constraints on filament/filament, PHP, and Laravel?Stack fit. Requires Laravel + Filament v3 (post-v0.7.0), plus spatie/laravel-activitylog as the data source. Filament v3 pins us to a modern PHP/Laravel baseline (PHP 8.1+, Laravel 10+). Confirm our platform floor before committing, since the package now inherits Filament v3's requirements.
Migration path.
^0.7. Lowest friction; no compatibility question.Compatibility gating. Before merge, diff the v0.6.3 → v0.7.0 composer.json and any published assets. Check for renamed namespaces, changed view paths, or altered config keys — Filament v3 moved a lot of namespace surface, so any local overrides we have are the likely breakage point.
Sequencing.
^0.7 on a throwaway branch, register the plugin, confirm the activity list renders against real data.Maintenance. Near-zero runtime maintenance — no background jobs, no queues, no scheduled tasks, no external services. The maintenance burden is dependency-tracking: the package's release cadence is tied to Filament majors, which are infrequent but breaking. Budget a recurring review at each Filament major upgrade.
Support. Community/single-maintainer, best-effort. No SLA, no vendor. Our mitigation is the fork option: the code surface is small enough that we can vendor or reimplement in days if the project goes stale. Document that fallback so it is a known, priced option rather than a surprise.
Scaling. The risk is read-path performance, not the package. activity_log grows monotonically and quickly; an unpaginated or unfiltered admin table over millions of rows will be slow and can pressure the primary database. Confirm pagination is enforced, and plan for indexing on subject_type/subject_id, causer, and created_at. Longer term, consider retention/pruning or archiving — this is our operational responsibility, not the package's, and it is the most likely source of a production incident attributable to this integration.
Failure modes.
Ramp-up. A developer familiar with Filament needs well under a day to integrate and understand the package. The real learning curve is Filament v3 itself, not this plugin. No specialist knowledge required; no dedicated owner needed beyond a named maintainer for dependency reviews.
Recommendation. Adopt ^0.7 if and only if we are on Filament v3 and the composer.json review confirms our platform constraints. Treat it as a low-risk, low-value convenience dependency with a documented fork exit. If we are on Filament v2, hold at v0.6.3 and schedule the panel upgrade as its own initiative. Given the small surface area, the hand-rolled alternative remains a legitimate option worth a one-day spike before committing to the dependency.
How can I help you explore Laravel packages today?