Wrapper around Matomo API for any PHP code

1.0.0 2024-02-14 16:15 UTC

This package is auto-updated.

Last update: 2024-04-14 16:40:22 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)