PHPackages                             mfajfr/datacollection-api - 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. mfajfr/datacollection-api

ActiveLibrary[API Development](/categories/api)

mfajfr/datacollection-api
=========================

API for communication with DataCollection

v1.3(6y ago)06PHP

Since Nov 5Pushed 6y ago2 watchersCompare

[ Source](https://github.com/tarsagocz/datacollection-api)[ Packagist](https://packagist.org/packages/mfajfr/datacollection-api)[ RSS](/packages/mfajfr-datacollection-api/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

DataCollection API
==================

[](#datacollection-api)

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

[](#installation)

```
    composer require mfajfr/datacollection-api

```

Using
-----

[](#using)

### Connection

[](#connection)

```
define('URL', 'https://datacollection.xample');
define('API_TOKEN', '1234567890123456789012345678901234567890');

Connection::setConfiguration(new Configuration(URL, API_TOKEN));
```

### Working with Subscriber

[](#working-with-subscriber)

```
$subscriber = Subscriber::example(); // Create example subscriber (fake data)
$subscriber->store(); // Storing subscriber

$subscriber = Subscriber::findByListAndAccountId($subscriber->list, $subscriber->account_id)['subscriber']; // Finding subscriber

$subscriber->email = 'new' . $subscriber->email; // Set new property

$subscriber->updateByListAndAccountId(); // Updating subscriber
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

4

Last Release

2431d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4585955?v=4)[Marek Fajfr](/maintainers/mfajfr)[@mfajfr](https://github.com/mfajfr)

### Embed Badge

![Health badge](/badges/mfajfr-datacollection-api/health.svg)

```
[![Health](https://phpackages.com/badges/mfajfr-datacollection-api/health.svg)](https://phpackages.com/packages/mfajfr-datacollection-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[temporal/sdk

Temporal SDK

4072.9M25](/packages/temporal-sdk)[pimcore/data-hub

Pimcore Datahub

1361.4M12](/packages/pimcore-data-hub)[icawebdesign/hibp-php

PHP library for accessing the Have I Been Pwned API.

2549.8k2](/packages/icawebdesign-hibp-php)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)

PHPackages © 2026

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