schmeits/filament-pan-analytics-widget
A Filament dashboard widget for Pan Analytics that brings visitor and page-view insights into your Laravel admin panel. View traffic trends and top pages without leaving Filament.
->authorize(bool|Closure) plugin method supports role- or policy-based visibility, enabling tiered admin access and safer rollout to broader internal audiences.4.x branch. Product and engineering should plan the widget upgrade only alongside a Filament 4/5 migration.Consider adoption when:
->authorize(bool|Closure).Look elsewhere or defer when:
4.x branch until the Filament upgrade is planned.FilamentPanAnalyticsWidget class, testing mixin, stubs, view namespace, or install command.getSearchable() method; these require migration changes.For executives: This package puts analytics directly into the admin experience, reducing reliance on separate BI tools and custom dashboard work. The 5.0.0 release is primarily an alignment release for Filament 4/5 and Laravel 12/13. It adds access control, improves data clarity, and removes JavaScript build tooling — lowering maintenance and deployment overhead. If we are still on Filament 3, there is no immediate action; the 4.x branch remains the correct path until our Filament upgrade.
For engineering: 5.0.0 is a breaking release, but the changes are mostly cleanup and modernization. Migration checklist: rename FilamentPanAnalyticsWidgetPlugin::getSearchable() to isSearchable(), remove the “all” page-size option, update translation keys, and remove references to deleted facade/class/testing mixin/stubs/view namespace/install command. New authorize() and current() APIs improve access control and safe panel integration. The package now has strict types, max-level PHPStan/Larastan, architecture tests, and no asset pipeline. Recommend upgrading when the Filament 4/5 migration happens; otherwise stay on 4.x.
How can I help you explore Laravel packages today?