c6digital/filament-plausible-page

Embed your Plausible dashboard inside of Filament.
1,392
Install
composer require c6digital/filament-plausible-page
Latest Version:v2.3.0
PHP:^8.2
License:MIT
Last Updated:Sep 3, 2026
Links: GitHub  ·  Packagist
Maintainer: ryangjchandler

Embed your Plausible dashboard inside of Filament.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package allows you to embed your Plausible Analytics dashboard as a page inside of Filament.

Version compatibility

Package Filament Laravel PHP
^2.3 3.x, 4.x, 5.x 11.x, 12.x, 13.x 8.2+
< 2.3 3.x 11.x, 12.x 8.2+

Filament 4 and 5 require Laravel 11.28+; on older Laravel 11 releases Composer will resolve Filament 3.

Installation

You can install the package via Composer:

composer require c6digital/filament-plausible-page

Usage

Register the plugin with Filament.

use C6Digital\FilamentPlausiblePage\FilamentPlausiblePagePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(FilamentPlausiblePagePlugin::make());
}

Provide a "Share URL" generated by Plausible in your .env file.

PLAUSIBLE_SHARE_URL="https://plausible.io/share/mysite.com?auth=blahblahblah

Load your panel and view your analytics!

Disabling Plausible footer text

Use the hideFooterMark() method to remove the "Stats powered by Plausible Analytics" footer mark.

return $panel
    ->plugin(
        FilamentPlausiblePagePlugin::make()
            ->hideFooterMark()
    );

Hide "Plausible" page title

Use the hidePageTitle() method to hide the page title.

return $panel
    ->plugin(
        FilamentPlausiblePagePlugin::make()
            ->hidePageTitle()
    );

Conditionally registering navigation items

If you want to conditionally show the navigation items registered by the page, you can provide a callback function to the shouldRegisterNavigationUsing() method.

FilamentPlausiblePagePlugin::make()
    ->shouldRegisterNavigationUsing(function () {
        return Tenant::hasPlausibleShareUrl();
    });

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608