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 3w 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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

1872d 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

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[hn/typo3-mcp-server

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

8523.4k1](/packages/hn-typo3-mcp-server)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[pagemachine/searchable

TYPO3 extension to index and search content with Elasticsearch

1039.9k](/packages/pagemachine-searchable)[thieleundklose/autotranslate

This extension provides automatic translation of pages and content elements via DeepL API.

1213.7k](/packages/thieleundklose-autotranslate)[kitodo/presentation

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

467.3k6](/packages/kitodo-presentation)

PHPackages © 2026

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