Wrapper around Matomo API for any PHP code

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/antoinebonin/matomo

1.0.0 2024-02-14 16:15 UTC

This package is auto-updated.

Last update: 2025-10-14 20:05:34 UTC


README

Wrapper around Matomo API for any PHP code

How to use

  1. Implement an adapter using the Antoinebonin\Matomo\Domain\Adapter\HttpClientAdapterInterface interface.
  2. Initiate a client
    $client = new \Antoinebonin\Matomo\Domain\Client\Client(
        $adapter,
        $baseUrl,
        $authToken
    );
  3. Use action to with your client
    $action = new AddSiteAction($name, $url);
    $client->send($action)