PHPackages                             adeweb/laravel-nova-matomo-cards - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. adeweb/laravel-nova-matomo-cards

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

adeweb/laravel-nova-matomo-cards
================================

0735PHP

Since Feb 5Pushed 4y agoCompare

[ Source](https://github.com/adeweb-be/laravel-nova-matomo-cards)[ Packagist](https://packagist.org/packages/adeweb/laravel-nova-matomo-cards)[ RSS](/packages/adeweb-laravel-nova-matomo-cards/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Matomo analytics in your Laravel Nova dashboard
===============================================

[](#matomo-analytics-in-your-laravel-nova-dashboard)

[![Preview](https://raw.githubusercontent.com/adeweb-be/laravel-nova-matomo-cards/master/.github/demo.png)](https://raw.githubusercontent.com/adeweb-be/laravel-nova-matomo-cards/master/.github/demo.png)

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

[](#installation)

You can install the package via composer:

```
composer require adeweb/laravel-nova-matomo-cards
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Adeweb\NovaMatomoCards\NovaMatomoCardsServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    'token' => env('MATOMO_API_TOKEN'),
    'url' => env('MATOMO_API_URL'),
    'site_id' => env('MATOMO_API_SITE_ID')
];
```

Note: It is better to use ENV variables than publishing and editing the config file.

Usage
-----

[](#usage)

In NovaServiceProvider.php :

```
use Adeweb\NovaMatomoCards\Cards\LastMonthDeviceTypePartition;
use Adeweb\NovaMatomoCards\Cards\LastMonthCitiesByVisitorCountList;
use Adeweb\NovaMatomoCards\Cards\LastMonthPageByVisitorList;
use Adeweb\NovaMatomoCards\Cards\LiveVisitorsCount;
use Adeweb\NovaMatomoCards\Cards\PageViewsCount;
use Adeweb\NovaMatomoCards\Cards\PageViewsPerDayTrend;
use Adeweb\NovaMatomoCards\Cards\LastMonthReferrersPartition;
use Adeweb\NovaMatomoCards\Cards\UniqueVisitorsCount;
use Adeweb\NovaMatomoCards\Cards\UniqueVisitorsPerDayTrend;

    /**
     * Get the cards that should be displayed on the default Nova dashboard.
     *
     * @return array
     */
    protected function cards()
    {
        return [
            (new UniqueVisitorsPerDayTrend())->width('1/2')->defaultRange('30'),
            (new UniqueVisitorsCount())->width('1/4')->defaultRange('month'),
            (new LiveVisitorsCount())->width('1/4')->defaultRange('720'),
            (new PageViewsPerDayTrend())->width('1/2')->defaultRange('30'),
            (new PageViewsCount())->width('1/4')->defaultRange('month'),
            (new LastMonthReferrersPartition())->width('1/2'),
            (new LastMonthDeviceTypePartition())->width('1/2'),
            (new LastMonthCitiesByVisitorCountList())->width('1/2'),
            (new LastMonthPageByVisitorList())->width('1/2'),
        ];
    }

```

In your .env file :

```
MATOMO_API_TOKEN="[Your Matomo API token]"
MATOMO_API_URL="[Your Matomo instance URL]"
MATOMO_API_SITE_ID="[Your Matomo Site ID]"
```

Testing
-------

[](#testing)

NTBD

Credits
-------

[](#credits)

- [Antoine Duchêne](https://github.com/duchenean)

License
-------

[](#license)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9050997?v=4)[Antoine Duchêne](/maintainers/duchenean)[@duchenean](https://github.com/duchenean)

---

Top Contributors

[![duchenean](https://avatars.githubusercontent.com/u/9050997?v=4)](https://github.com/duchenean "duchenean (10 commits)")

### Embed Badge

![Health badge](/badges/adeweb-laravel-nova-matomo-cards/health.svg)

```
[![Health](https://phpackages.com/badges/adeweb-laravel-nova-matomo-cards/health.svg)](https://phpackages.com/packages/adeweb-laravel-nova-matomo-cards)
```

###  Alternatives

[marvinlabs/laravel-html-font-awesome

A fluent html builder for Font Awesome icons

151.7k](/packages/marvinlabs-laravel-html-font-awesome)

PHPackages © 2026

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