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 2mo 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 37% 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

2385d 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.2M720](/packages/statamic-cms)[spatie/laravel-route-attributes

Auto register routes using PHP attributes

879963.2k18](/packages/spatie-laravel-route-attributes)[team-reflex/discord-php

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

1.1k379.4k24](/packages/team-reflex-discord-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)

PHPackages © 2026

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