PHPackages                             danilopolani/filament-plausible-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. danilopolani/filament-plausible-widget

ActiveLibrary[Admin Panels](/categories/admin)

danilopolani/filament-plausible-widget
======================================

Plausible widget for Filament admin dashboard

v3.2.0(1y ago)203.9k5[1 PRs](https://github.com/danilopolani/filament-plausible-widget/pulls)MITPHPPHP ^8.0

Since Mar 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/danilopolani/filament-plausible-widget)[ Packagist](https://packagist.org/packages/danilopolani/filament-plausible-widget)[ Docs](https://github.com/danilopolani/filament-plausible-widget)[ Fund](https://www.buymeacoffee.com/theraloss)[ GitHub Sponsors](https://github.com/danilopolani)[ RSS](/packages/danilopolani-filament-plausible-widget/feed)WikiDiscussions 3.x Synced today

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

Filament Plausible Widget
=========================

[](#filament-plausible-widget)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0238a94bfb724652220c080eb4a0ba2bfd3fa7dc12b3a5b4ef34db281f3926c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e696c6f706f6c616e692f66696c616d656e742d706c61757369626c652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/danilopolani/filament-plausible-widget)[![Total Downloads](https://camo.githubusercontent.com/92d539c880776d3607ba65a06f0fbad8ce6f93a0ea82dad6d674d4eed6f7dfee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e696c6f706f6c616e692f66696c616d656e742d706c61757369626c652d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/danilopolani/filament-plausible-widget)

Add a fancy Plausible statistics widget to your Filament admin dashboard.

[![Filament Plausible Widget preview](https://camo.githubusercontent.com/d073576747cbed2522d82e75bff4bf265f1698a175f4a7a4f55781dab0827f71/68747470733a2f2f692e696d6775722e636f6d2f546c42425669732e706e67)](https://camo.githubusercontent.com/d073576747cbed2522d82e75bff4bf265f1698a175f4a7a4f55781dab0827f71/68747470733a2f2f692e696d6775722e636f6d2f546c42425669732e706e67)

> If you're using Filament v1, please navigate the [1.x branch](https://github.com/danilopolani/filament-plausible-widget/tree/1.x).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require danilopolani/filament-plausible-widget
```

Then publish the assets of the package:

```
php artisan vendor:publish --tag=filament-plausible-widget-assets
```

> If you're upgrading from v1 to v2 please note that the namespace changed from `\Danilopolani\` to `\DaniloPolani\`.

### Filament v3

[](#filament-v3)

To properly see the widget in Filament v3, open your `AdminPanelProvider` file and add the widget in the `->widgets()` array:

```
use DaniloPolani\FilamentPlausibleWidget\Widgets\PlausibleWidget;

->widgets([
    Widgets\AccountWidget::class,
    Widgets\FilamentInfoWidget::class,
    PlausibleWidget::class,
])
```

### Upgrade

[](#upgrade)

When upgrading, you may want to republish the assets:

```
php artisan vendor:publish --tag=filament-plausible-widget-assets --force
```

Configuration
-------------

[](#configuration)

You need only two env variables to display your Plausible widget:

EnvDescription`FILAMENT_PLAUSIBLE_TOKEN`Your Plausible API key. [Read more »](#token)`FILAMENT_PLAUSIBLE_SITE_ID`The site ID you want to get statistics of. [Read more »](#site_id)---

If you want to go deeper you can publish the configuration file:

```
php artisan vendor:publish --tag=filament-plausible-widget-config
```

There are a few notable configuration options for the package.

### **`token`**

[](#token)

Your Plausible API key. You can obtain an API key for your account by going to your user settings page .

### **`site_id`**

[](#site_id)

The site ID you want to get statistics of. You can obtain this value by navigating to your site settings in Plausible and grab the "value" of the domain field. E.g. `plausible.io/mysite.com` becomes `mysite.com`.

### **`periods.default`**

[](#periodsdefault)

The period shown by default in the dashboard. Can be any of these values: `day`, `7d`, `30d`, `month`, `6mo`, `12mo`. Default: `7d`.

### **`periods.selectable`**

[](#periodsselectable)

Choose if let users select a different period of statistics in the dashboard. Default: `true`.

### **`cache.enabled`**

[](#cacheenabled)

**Recommended**

Cache the statistics to avoid API calls for a specific amount of time. Default: `true`.

### **`cache.ttl`**

[](#cachettl)

If cache is enabled, define for how long the statistics are stored in the cache.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Danilo Polani](https://github.com/danilopolani)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance44

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 84.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~115 days

Recently: every ~151 days

Total

14

Last Release

439d ago

Major Versions

v1.0.1 → v2.0.02021-12-18

v2.1.1 → v3.0.02023-08-26

PHP version history (2 changes)1.0.0PHP ^7.4|^8.0

v2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ed568a3c0ca4ca3d3b7d199371b455e3a50347dcffc39ec01c94e04743bdcd6?d=identicon)[Theraloss](/maintainers/Theraloss)

---

Top Contributors

[![danilopolani](https://avatars.githubusercontent.com/u/6277291?v=4)](https://github.com/danilopolani "danilopolani (16 commits)")[![csrui](https://avatars.githubusercontent.com/u/205312?v=4)](https://github.com/csrui "csrui (1 commits)")[![DirtyRacer1337](https://avatars.githubusercontent.com/u/17379553?v=4)](https://github.com/DirtyRacer1337 "DirtyRacer1337 (1 commits)")[![pau1phi11ips](https://avatars.githubusercontent.com/u/677264?v=4)](https://github.com/pau1phi11ips "pau1phi11ips (1 commits)")

---

Tags

filamentlaravellaravel-frameworklaravel-packageplausible-analyticsfilamentfilament-adminplausibledanilopolanifilament-plausible-widget

### Embed Badge

![Health badge](/badges/danilopolani-filament-plausible-widget/health.svg)

```
[![Health](https://phpackages.com/badges/danilopolani-filament-plausible-widget/health.svg)](https://phpackages.com/packages/danilopolani-filament-plausible-widget)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58171.8k14](/packages/api-platform-laravel)[a2insights/filament-saas

Filament Saas for A2Insights

171.7k](/packages/a2insights-filament-saas)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
