About this project
Filament Plausible is a PHP package for the Filament admin framework that brings Plausible Analytics integration directly into your Filament panel. It acts as a privacy-friendly alternative to Google Analytics by automatically injecting the Plausible tracking script into the head section of your admin panel and exposing a configuration UI for managing your analytics settings.
The package requires PHP 8.2+, Laravel 11.28+, and Filament 5.x. Installation is done via Composer, followed by publishing migrations from spatie/laravel-settings and running them through Artisan. Once registered in your PanelProvider using PlausiblePlugin::make(), the plugin handles two things: automatic Plausible script injection on every page load and a settings page where you can enter your Plausible domain and host URL without editing config files manually.
Version compatibility is split across branches: version 3.x supports Filament 5.x, version 2.x supports Filament 4.x, and version 1.x supports Filament 3.x. The plugin can also be configured to skip the settings page entirely if you only need the automatic script injection by passing settingsPage(false).
The project is licensed under MIT and is developed by Jefferson Goncalves.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.