PHPackages                             ceytek-labs/matomo-services-lite - 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. ceytek-labs/matomo-services-lite

ActiveLibrary[API Development](/categories/api)

ceytek-labs/matomo-services-lite
================================

Matomo Services Lite is a lightweight and extendable library designed to help you manage data easily using the Matomo in your PHP projects.

v1.11.0(1y ago)025MITPHPPHP ^7.0|^8.0

Since Nov 6Pushed 1y agoCompare

[ Source](https://github.com/ceytek-labs/matomo-services-lite)[ Packagist](https://packagist.org/packages/ceytek-labs/matomo-services-lite)[ Docs](https://github.com/ceytek-labs/matomo-services-lite)[ RSS](/packages/ceytek-labs-matomo-services-lite/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependenciesVersions (20)Used By (0)

 [![Matomo Services Lite](https://raw.githubusercontent.com/ceytek-labs/matomo-services-lite/refs/heads/1.x/art/banner.png)](https://raw.githubusercontent.com/ceytek-labs/matomo-services-lite/refs/heads/1.x/art/banner.png)

 [![Total Downloads](https://camo.githubusercontent.com/7f10255fc48b3397fa7510903431e2d9b05fbc3d6bb4881f502a5da4cf15ad23/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63657974656b2d6c6162732f6d61746f6d6f2d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/matomo-services-lite) [![Latest Version](https://camo.githubusercontent.com/bc79acdb8af5566128d48629b0df862efa90c823caab475e7095b41829a34f7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63657974656b2d6c6162732f6d61746f6d6f2d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/matomo-services-lite) [![Size](https://camo.githubusercontent.com/09c9e11a1b52089e49050313c0a48782f6cfc124f71f4112688c0eed8ab7aeef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f63657974656b2d6c6162732f6d61746f6d6f2d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/matomo-services-lite) [![License](https://camo.githubusercontent.com/1dbdec40f7bf640615831f4e69c03a33d23ec585d77f1999936ee24ef59b4c60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63657974656b2d6c6162732f6d61746f6d6f2d73657276696365732d6c697465)](https://packagist.org/packages/ceytek-labs/matomo-services-lite)

---

Matomo Services Lite - Matomo API for PHP
=========================================

[](#matomo-services-lite---matomo-api-for-php)

**Matomo Services Lite** is a lightweight and extendable library designed to help you manage data easily using the Matomo in your PHP projects.

> **Disclaimer:** This package is not an official product of Matomo. The developers accept no responsibility for any issues, discrepancies, or damages that may arise from its use.

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

[](#requirements)

- PHP 7.0 or higher (including PHP 8)

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

[](#installation)

You can add this package to your projects via Composer:

```
composer require ceytek-labs/matomo-services-lite
```

Services
--------

[](#services)

- [Actions](#actions)
    - [Get](#actions-get)
    - [Get Page Urls](#actions-get-page-urls)
- [Devices Detection](#devices-detection)
    - [Get Type](#devices-detection-get-type)
- [Events](#events)
    - [Get Action](#events-get-action)
    - [Get Category](#events-get-category)
    - [Get Name](#events-get-name)
    - [Get Name From Action ID](#events-get-name-from-action-id)
- [Marketing Campaigns Reporting](#marketing-campaigns-reporting)
    - [Get Name](#marketing-campaigns-reporting-get-name)
- [Sites Manager](#sites-manager)
    - [Get All Sites](#sites-manager-get-all-sites)
- [Users Manager](#users-manager)
    - [Get Users With Site Access](#users-manager-get-users-with-site-access)
- [Visits Summary](#visits-summary)
    - [Get](#visits-summary-get)

Actions
-------

[](#actions)

The Actions API lets you request reports for all your Visitor Actions: Page URLs, Page titles, Events, Content Tracking, File Downloads and Clicks on external websites.

### Example Usage

[](#example-usage)

The following example demonstrates how to manage data in a **Actions** document:

**[⬆ Back to services](#services)**

#### Actions: Get

[](#actions-get)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->actions()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->get();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

#### Actions: Get Page Urls

[](#actions-get-page-urls)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->actions()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getPageUrls();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Devices Detection
-----------------

[](#devices-detection)

The DevicesDetection API lets you access reports on your visitors devices, brands, models, Operating system, Browsers.

### Example Usage

[](#example-usage-1)

The following example demonstrates how to manage data in a **Devices Detection** document:

**[⬆ Back to services](#services)**

#### Devices Detection: Get Type

[](#devices-detection-get-type)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->devicesDetection()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getType();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Events
------

[](#events)

The Events API lets you request reports about your users' Custom Events.

### Example Usage

[](#example-usage-2)

The following example demonstrates how to manage data in a **Devices Detection** document:

**[⬆ Back to services](#services)**

#### Events: Get Action

[](#events-get-action)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->events()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getAction();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

#### Events: Get Category

[](#events-get-category)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->events()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getCategory();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

#### Events: Get Name

[](#events-get-name)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->events()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getName();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

#### Events: Get Name From Action ID

[](#events-get-name-from-action-id)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->events()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->setIdSubtable('')
    ->getNameFromActionId();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Marketing Campaigns Reporting
-----------------------------

[](#marketing-campaigns-reporting)

API for plugin MarketingCampaignsReporting

### Example Usage

[](#example-usage-3)

The following example demonstrates how to manage data in a **Marketing Campaigns Reporting** document:

**[⬆ Back to services](#services)**

#### Marketing Campaigns Reporting: Get Name

[](#marketing-campaigns-reporting-get-name)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->marketingCampaignsReporting()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->getName();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Sites Manager
-------------

[](#sites-manager)

The SitesManager API gives you full control on Websites in Matomo (create, update and delete), and many methods to retrieve websites based on various attributes.

### Example Usage

[](#example-usage-4)

The following example demonstrates how to manage data in a **Sites Manager** document:

**[⬆ Back to services](#services)**

#### Sites Manager: Get All Sites

[](#sites-manager-get-all-sites)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->sitesManager()
    ->getAllSites();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Users Manager
-------------

[](#users-manager)

The UsersManager API lets you Manage Users and their permissions to access specific websites.

### Example Usage

[](#example-usage-5)

The following example demonstrates how to manage data in a **Users Manager** document:

**[⬆ Back to services](#services)**

#### Users Manager: Get Users With Site Access

[](#users-manager-get-users-with-site-access)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->usersManager()
    ->setIdSite('')
    ->setAccess('')
    ->getUsersWithSiteAccess();

echo ''; print_r($result);
```

**[⬆ Back to services](#services)**

Visits Summary
--------------

[](#visits-summary)

VisitsSummary API lets you access the core web analytics metrics (visits, unique visitors, count of actions (page views &amp; downloads &amp; clicks on outlinks), time on site, bounces and converted visits).

### Example Usage

[](#example-usage-6)

The following example demonstrates how to manage data in a **Visits Summary** document:

**[⬆ Back to services](#services)**

#### Visits Summary: Get

[](#visits-summary-get)

```
use CeytekLabs\MatomoServicesLite\Matomo;

$result = Matomo::make()
    ->setApi('')
    ->setToken('')
    ->visitsSummary()
    ->setIdSite('')
    ->setPeriod('')
    ->setDate('')
    ->get();

echo ''; print_r($result);
```

Contributing
------------

[](#contributing)

Feel free to submit a **pull request** or report an issue. Any contributions and feedback are highly appreciated!

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

19

Last Release

544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd04f7a68c28475cb5493f3d841a7ae95ad200188efb658e1a37e30a5f2ba6db?d=identicon)[ceyhun-celik](/maintainers/ceyhun-celik)

---

Top Contributors

[![ceyhun-celik](https://avatars.githubusercontent.com/u/112348956?v=4)](https://github.com/ceyhun-celik "ceyhun-celik (19 commits)")

---

Tags

automationdata-updateslite-librarymatomomatomo-apimatomo-servicesmatomo-services-litephptrack-online-visitsweb-analyticsphpautomationmatomoweb-analyticslite librarydata updatesMatomo ServicesMatomo APItrack online visitsmatomo-services-lite

### Embed Badge

![Health badge](/badges/ceytek-labs-matomo-services-lite/health.svg)

```
[![Health](https://phpackages.com/badges/ceytek-labs-matomo-services-lite/health.svg)](https://phpackages.com/packages/ceytek-labs-matomo-services-lite)
```

PHPackages © 2026

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