PHPackages                             famouswolf/matomoapi - 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. [API Development](/categories/api)
4. /
5. famouswolf/matomoapi

ActiveTypo3-cms-extension[API Development](/categories/api)

famouswolf/matomoapi
====================

TYPO3 extension to talk to Matomo API and display it with a template

1.0.1(5y ago)119GPL-3.0-or-laterPHP

Since Jul 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/FamousWolf/matomoapi)[ Packagist](https://packagist.org/packages/famouswolf/matomoapi)[ RSS](/packages/famouswolf-matomoapi/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

matomoapi
=========

[](#matomoapi)

TYPO3 extension to connect to the Matomo API and show the result using a Fluid template.

Requirements
------------

[](#requirements)

- TYPO3 CMS 10.4
- PHP 7.2+
- Licence: GPL 3.0

Manual
------

[](#manual)

After installing the extension you need to configure the Matomo API call through TypoScript. You can then add the plugin, either through TypoScript or as a content element. The default template will show the returned data using f:debug, so most likely you'll want to create a custom template.

More about the Matomo API can be found here:

### TypoScript

[](#typoscript)

KeyDescriptionTypeview.templateRootPathsTemplate root pathsArrayview.partialRootPathsPartial root pathsArrayview.layoutRootPathsLayout root pathsArraysettings.apiUrlURL for the Matomo APIStringsettings.tokenAuthThe Matomo API authentication tokenStringsettings.methodThe method to call in the Matomo APIStringsettings.parametersThe parameters to send to the Matomo APIArray### Examples

[](#examples)

#### Get the number of visits in the last 30 days

[](#get-the-number-of-visits-in-the-last-30-days)

##### TypoScript

[](#typoscript-1)

```
plugin.tx_matomoapi {
  settings {
    apiUrl = https://example.org/matomo/index.php?
    tokenAuth = 1234567890abcdef1234567890abcdef
    method = VisitsSummary.get
    parameters {
      idSite = 1
      period = range
      date = last30
    }
  }
}

```

##### Fluid template

[](#fluid-template)

```

    Visits in the last 30 days: {data.nb_visits}

```

#### Get the most visited page URL for yesterday

[](#get-the-most-visited-page-url-for-yesterday)

##### TypoScript

[](#typoscript-2)

```
plugin.tx_matomoapi {
  settings {
    apiUrl = https://example.org/matomo/index.php?
    tokenAuth = 1234567890abcdef1234567890abcdef
    method = Actions.getPageUrls
    parameters {
      idSite = 1
      period = day
      date = yesterday
      flat = 1
      filter_limit = 1
    }
  }
}

```

##### Fluid template

[](#fluid-template-1)

```

            Most visited page yesterday

            There were no visitors yesterday or something went wrong

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~310 days

Total

2

Last Release

1825d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/534184bc8ea49b4f00cbf2e6a0d67460ca6244c005e16efef90f9108f7474ada?d=identicon)[FamousWolf](/maintainers/FamousWolf)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/famouswolf-matomoapi/health.svg)

```
[![Health](https://phpackages.com/badges/famouswolf-matomoapi/health.svg)](https://phpackages.com/packages/famouswolf-matomoapi)
```

###  Alternatives

[sinso/app-routes

Easy way to route rest-like URLs to your code

23110.0k1](/packages/sinso-app-routes)[hn/typo3-mcp-server

TYPO3 extension that provides a Model Context Protocol (MCP) server for interacting with TYPO3 pages and records

708.9k](/packages/hn-typo3-mcp-server)[sourcebroker/t3api

REST API for your TYPO3 project. Config with annotations, build in filtering, pagination, typolinks, image processing, serialization contexts, responses in Hydra/JSON-LD format.

3880.8k4](/packages/sourcebroker-t3api)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2749.1k](/packages/pixelant-pxa-social-feed)[b13/slimphp-bridge

Provides a middleware for registering Slim PHP applications within TYPO3 Frontend Sites

2047.2k1](/packages/b13-slimphp-bridge)[kitodo/presentation

Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.

436.1k5](/packages/kitodo-presentation)

PHPackages © 2026

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