PHPackages                             jeffersongoncalves/filament-metrics-matomo - 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. jeffersongoncalves/filament-metrics-matomo

ActiveLibrary[Admin Panels](/categories/admin)

jeffersongoncalves/filament-metrics-matomo
==========================================

Filament plugin for Matomo Analytics - Settings page and dashboard widgets

v3.0.0(2mo ago)30MITPHPPHP ^8.2

Since Mar 4Pushed 1mo agoCompare

[ Source](https://github.com/jeffersongoncalves/filament-metrics-matomo)[ Packagist](https://packagist.org/packages/jeffersongoncalves/filament-metrics-matomo)[ Docs](https://github.com/jeffersongoncalves/filament-metrics-matomo)[ RSS](/packages/jeffersongoncalves-filament-metrics-matomo/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (5)Used By (0)

[![Filament Metrics Matomo](https://raw.githubusercontent.com/jeffersongoncalves/filament-metrics-matomo/3.x/art/jeffersongoncalves-filament-metrics-matomo.jpg)](https://raw.githubusercontent.com/jeffersongoncalves/filament-metrics-matomo/3.x/art/jeffersongoncalves-filament-metrics-matomo.jpg)

Filament Metrics Matomo
=======================

[](#filament-metrics-matomo)

[![Latest Version on Packagist](https://camo.githubusercontent.com/74933f5f250210560e4894471dfa93423e0ec8fa8cc1b8e2ca8f5f4395fed384/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d6574726963732d6d61746f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-metrics-matomo)[![Total Downloads](https://camo.githubusercontent.com/9d12d457b881722e9651f334a434f658d7c9e4c2e8d757a058787fa2383f7979/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d6574726963732d6d61746f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-metrics-matomo)[![License](https://camo.githubusercontent.com/306fdf50a4ec7230ebe9b7687e5b0a174743e46b4cd90bb353f47a5f326b172f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d6574726963732d6d61746f6d6f2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A Filament plugin that provides a Settings Page and Dashboard Widgets for [Matomo Analytics](https://matomo.org/), powered by [`jeffersongoncalves/laravel-metrics-matomo`](https://github.com/jeffersongoncalves/laravel-metrics-matomo).

Version Compatibility
---------------------

[](#version-compatibility)

BranchFilamentLaravelPHPLivewire[1.x](https://github.com/jeffersongoncalves/filament-metrics-matomo/tree/1.x)3.x10+8.1+3.x[2.x](https://github.com/jeffersongoncalves/filament-metrics-matomo/tree/2.x)4.x11+8.2+3.x[3.x](https://github.com/jeffersongoncalves/filament-metrics-matomo/tree/3.x)5.x11+8.2+4.x> You are currently viewing the **3.x** branch (Filament v5).

Features
--------

[](#features)

- **Settings Page** - Configure Matomo connection (URL, API token, Site ID, Timezone) with a "Test Connection" button
- **Live Counter Widget** - Real-time visitors with auto-polling (pulsating green dot)
- **Visits Summary Widget** - Stats overview with unique visitors, visits, pageviews, bounce rate, avg. duration
- **Visits Chart Widget** - Line chart with visits over time (7/14/30/90 days filter)
- **Top Pages Widget** - Table with most visited pages
- **Referrers Widget** - Doughnut chart with referrer types
- **Device Types Widget** - Doughnut chart with device distribution
- **Browsers Widget** - Bar chart with browser usage
- **Countries Widget** - Table with visitor countries
- **Caching** - Configurable TTL and cache store
- **Translations** - English and Brazilian Portuguese (pt\_BR) included

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

[](#installation)

You can install the package via composer:

```
composer require jeffersongoncalves/filament-metrics-matomo:"^3.0"
```

Make sure you have run the base package migrations:

```
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="JeffersonGoncalves\MetricsMatomo\MatomoServiceProvider" --tag="matomo-migrations"
php artisan migrate
```

Optionally publish the config file:

```
php artisan vendor:publish --tag="filament-metrics-matomo-config"
```

Usage
-----

[](#usage)

Register the plugin in your Filament Panel Provider:

```
use JeffersonGoncalves\FilamentMetricsMatomo\FilamentMetricsMatomoPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentMetricsMatomoPlugin::make()
                ->settingsPage()
                ->allWidgets(),
        ]);
}
```

### Enable/Disable Individual Widgets

[](#enabledisable-individual-widgets)

```
FilamentMetricsMatomoPlugin::make()
    ->settingsPage()
    ->liveCounter()
    ->visitsSummary()
    ->visitsChart()
    ->topPages()
    ->referrers()
    ->deviceTypes()
    ->browsers()
    ->countries()
```

Or disable specific ones:

```
FilamentMetricsMatomoPlugin::make()
    ->settingsPage()
    ->allWidgets()
    ->countries(false)
    ->browsers(false)
```

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

[](#configuration)

```
// config/filament-metrics-matomo.php

return [
    'default_period' => 'day',          // day, week, month, year
    'cache_ttl' => 300,                 // seconds (0 to disable)
    'cache_store' => null,              // null = default store
    'live_counter_poll_interval' => 30, // seconds
    'live_counter_last_minutes' => 30,  // minutes
    'table_row_limit' => 10,           // rows in table widgets
    'navigation' => [
        'group' => 'Analytics',
        'sort' => null,
    ],
];
```

Testing
-------

[](#testing)

```
composer test
```

Code Quality
------------

[](#code-quality)

```
composer analyse   # PHPStan
composer format    # Laravel Pint
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~7 days

Total

5

Last Release

40d ago

Major Versions

v2.0.0 → v3.0.02026-03-04

1.x-dev → 3.x-dev2026-03-29

PHP version history (2 changes)v2.0.0PHP ^8.2

1.x-devPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (12 commits)")

---

Tags

analyticsdashboard-widgetsfilamentfilament-pluginlaravellaravel-packagelivewirematomomatomo-analyticsphplaravelmatomoMetricsdashboardanalyticswidgetsfilament

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-filament-metrics-matomo/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-filament-metrics-matomo/health.svg)](https://phpackages.com/packages/jeffersongoncalves-filament-metrics-matomo)
```

###  Alternatives

[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[riodwanto/superduper-filament-starter-kit

A comprehensive Laravel Filament 3 💡 starter kit with pre-installed plugins, admin panel, user management, SEO tools, theme customization, and content management for rapid application development

2708.5k](/packages/riodwanto-superduper-filament-starter-kit)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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