PHPackages                             hostinger/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. hostinger/amplitude-php

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

hostinger/amplitude-php
=======================

1.0.0(10y ago)36.7k

Since Jun 13Compare

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

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

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

[](#amplitude-php)

Install
-------

[](#install)

`composer require hostinger/amplitude-php`

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

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

```
require_once 'vendor/autoload.php';

$apiKey = '123';
$amplitudeClient = new Amplitude\AmplitudeClient($apiKey);

$amplitudeEvent = new Amplitude\Message\Event();

// For user properties
$amplitudeEvent
    ->set('eventType', 'test.event')
    ->set('userId', 1)
    ->set('deviceId', 1)
    ->set('city_id', 1)
    ->set('country_id', 1);

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

try {
    $response = $amplitudeClient->track($amplitudeEvent);
    print 'event tracked';
} catch (Exception $e) {
    print $e->getMessage();
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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

Unknown

Total

1

Last Release

3669d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17141616?v=4)[Rytis Dereškevičius](/maintainers/rytisder)[@rytisder](https://github.com/rytisder)

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

![](https://www.gravatar.com/avatar/8b284b04724dd2be06359d7091a04708a3cc7d71eb8ac0fc60d6a6de274e04e3?d=identicon)[fordnox](/maintainers/fordnox)

---

Top Contributors

[![fjalvarezdd](https://avatars.githubusercontent.com/u/1707308?v=4)](https://github.com/fjalvarezdd "fjalvarezdd (14 commits)")[![fordnox](https://avatars.githubusercontent.com/u/398619?v=4)](https://github.com/fordnox "fordnox (3 commits)")

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

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

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1533.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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