PHPackages                             primedata-ai/analytics-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. primedata-ai/analytics-php

ActiveLibary[Utility &amp; Helpers](/categories/utility)

primedata-ai/analytics-php
==========================

Analytics PHP SDK

0.4.0(4y ago)04911MITPHP

Since Aug 3Pushed 4y ago5 watchersCompare

[ Source](https://github.com/primedata-ai/sdk-php)[ Packagist](https://packagist.org/packages/primedata-ai/analytics-php)[ RSS](/packages/primedata-ai-analytics-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (5)Versions (16)Used By (1)

[![Build Status](https://github.com/primedata-ai/sdk-php/workflows/PHP%20Test/badge.svg)](https://github.com/primedata-ai/sdk-php/workflows/PHP%20Test/badge.svg)

Usage
=====

[](#usage)

```
/**
@var $buffer QueueBuffer
*/
$buffer = YourQueueBuffer();
$client = new Client('s-1', 'w-1', $buffer);
$client->track('access_report', ['in' => 'the morning'],
    Event::withSessionID("s-id"),
    Event::withSource(new Source("site", "primedata.ai", array("price" => 20))),
    Event::withTarget(new Target("report", "CDP solution", array("pages" => 100)))
);

public function testSend()
{
    $client = new Client("web-1fcrwsKgV0Zk2EdpCFYIvYbNRgs", "1fcrwstLt8g0ggTL5K87a6O6umy");
    $client->track("purchase_product", ['total_value' => 2000, 'currency' => "USD"],
        Event::withSessionID("1e85YTciGhH6vLfLpmqhJfhFhpq"));
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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 ~27 days

Recently: every ~77 days

Total

14

Last Release

1797d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1016113?v=4)[Paul Aan](/maintainers/weburnit)[@weburnit](https://github.com/weburnit)

---

Top Contributors

[![weburnit](https://avatars.githubusercontent.com/u/1016113?v=4)](https://github.com/weburnit "weburnit (12 commits)")[![nlphong](https://avatars.githubusercontent.com/u/68844513?v=4)](https://github.com/nlphong "nlphong (9 commits)")[![nguyenlephong](https://avatars.githubusercontent.com/u/25582949?v=4)](https://github.com/nguyenlephong "nguyenlephong (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/primedata-ai-analytics-php/health.svg)

```
[![Health](https://phpackages.com/badges/primedata-ai-analytics-php/health.svg)](https://phpackages.com/packages/primedata-ai-analytics-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M112](/packages/google-cloud-core)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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