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

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

minube/amplitude-php
====================

Amplitude SDK for PHP - Use Amplitude in your PHP project

2.0(7y ago)1455.7k↓33.3%12[1 PRs](https://github.com/minube/Amplitude-PHP/pulls)Apache-2.0PHPPHP &gt;=5.5

Since Aug 8Pushed 6y ago6 watchersCompare

[ Source](https://github.com/minube/Amplitude-PHP)[ Packagist](https://packagist.org/packages/minube/amplitude-php)[ Docs](http://minube.com)[ RSS](/packages/minube-amplitude-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

Amplitude PHP
=============

[](#amplitude-php)

How to use it
-------------

[](#how-to-use-it)

```
$apiKey = 123456;
$amplitudeClient = new \Amplitude\AmplitudeClient($apiKey);

$amplitudeEvent = new \Amplitude\AmplitudeEvent();

// For user properties
$amplitudeEvent->set('city_id', 123)
    ->set('country_id', 34);

// For event properties
$amplitudeEvent->addToEventProperties('revenue', 12.34);

$response = $amplitudeClient->track($amplitudeEvent);
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~200 days

Total

2

Last Release

2743d ago

Major Versions

1.0 → 2.02018-11-13

PHP version history (2 changes)1.0PHP &gt;=5.3.3

2.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfba603e71625017f8a0426d0754c1a9c26360544bcba19ace3414401e56138f?d=identicon)[fjalvarez](/maintainers/fjalvarez)

---

Top Contributors

[![fjalvarezdd](https://avatars.githubusercontent.com/u/1707308?v=4)](https://github.com/fjalvarezdd "fjalvarezdd (17 commits)")[![JustHarris](https://avatars.githubusercontent.com/u/8626468?v=4)](https://github.com/JustHarris "JustHarris (5 commits)")[![ReySVD](https://avatars.githubusercontent.com/u/37901602?v=4)](https://github.com/ReySVD "ReySVD (1 commits)")

---

Tags

sdkamplitude

### Embed Badge

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

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

###  Alternatives

[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)[infusionsoft/php-sdk

PHP SDK for the Infusionsoft

1292.1M7](/packages/infusionsoft-php-sdk)[corley/influxdb-sdk

Send your app metrics to InfluxDB

84296.5k2](/packages/corley-influxdb-sdk)

PHPackages © 2026

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