PHPackages                             aurimasbutkus/amplitude-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. [API Development](/categories/api)
4. /
5. aurimasbutkus/amplitude-php

ActiveLibrary[API Development](/categories/api)

aurimasbutkus/amplitude-php
===========================

PHP Amplitude client package

3.5.0(2mo ago)01.2k↓39.3%MITPHPPHP &gt;=7.4

Since Sep 27Pushed 2mo agoCompare

[ Source](https://github.com/aurimasbutkus/amplitude-php)[ Packagist](https://packagist.org/packages/aurimasbutkus/amplitude-php)[ RSS](/packages/aurimasbutkus-amplitude-php/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (6)Versions (7)Used By (0)

Amplitude PHP client
====================

[](#amplitude-php-client)

Straightforward Amplitude client package.

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

[](#installation)

`composer require aurimasbutkus/amplitude-php`

Example
-------

[](#example)

### Sending a single event

[](#sending-a-single-event)

```
use Luur\Amplitude\Amplitude;
use Luur\Amplitude\Event;

$amplitude = new Amplitude('api-key');

$event = new Event();
$event->user_id = '123456';
$event->event_type = 'test-event';

$result = $amplitude->send($event);
```

### Sending multiple events

[](#sending-multiple-events)

```
use Luur\Amplitude\Amplitude;
use Luur\Amplitude\Message;
use Luur\Amplitude\Event;

$amplitude = new Amplitude('api-key');

$event_1 = new Event([
    'user_id' => '123456',
    'event_type' => 'test-event',
]);

$event_2 = new Event([
    'user_id' => '987654',
    'event_type' => 'test-event',
]);

$message = new Message([
    $event_1,
    $event_2,
]);

$result = $amplitude->send($message);
```

### V2 API

[](#v2-api)

```
use Luur\Amplitude\AmplitudeV2;
use Luur\Amplitude\Event;

$amplitude = new AmplitudeV2('api-key');

$event = new Event();
$event->user_id = '123456';
$event->event_type = 'test-event';

$result = $amplitude->send($event);
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance85

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.3% 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 ~310 days

Total

4

Last Release

79d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a563026ac2cc05db4edd42eab0686846e0bd9d4c4205fdbb72c77b28d9f961f?d=identicon)[aurimasbutkus](/maintainers/aurimasbutkus)

---

Top Contributors

[![laurynasgadl](https://avatars.githubusercontent.com/u/30233941?v=4)](https://github.com/laurynasgadl "laurynasgadl (7 commits)")[![aurimasbutkus](https://avatars.githubusercontent.com/u/20791214?v=4)](https://github.com/aurimasbutkus "aurimasbutkus (5 commits)")

---

Tags

phpclientamplitude

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aurimasbutkus-amplitude-php/health.svg)

```
[![Health](https://phpackages.com/badges/aurimasbutkus-amplitude-php/health.svg)](https://phpackages.com/packages/aurimasbutkus-amplitude-php)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k409.0k6](/packages/theodo-group-llphant)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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