PHPackages                             guidofaecke/heap-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. guidofaecke/heap-php

ActiveLibrary[API Development](/categories/api)

guidofaecke/heap-php
====================

Library for sending data through Heap API.

2.1(3y ago)068MITPHPPHP ^7.4 || ^8.1

Since Sep 1Pushed 3y agoCompare

[ Source](https://github.com/guidofaecke/heap-php)[ Packagist](https://packagist.org/packages/guidofaecke/heap-php)[ RSS](/packages/guidofaecke-heap-php/feed)WikiDiscussions master Synced 1w ago

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

Heap PHP Client
===============

[](#heap-php-client)

PHP library for sending data through Heap API.

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

[](#installation)

Minimum PHP 7.4

You can install it using Composer:

```
composer require guidofaecke/heap-php

```

Track Events
------------

[](#track-events)

```
$heap = new \Heap\Client('APP_ID');
$heap->track('Paid Order', 'example@example.com');
```

[See full example](examples/track-event.php)

Add User Properties
-------------------

[](#add-user-properties)

```
$heap = new \Heap\Client('APP_ID');
$heap->addUserProperties('example@example.com', array(
    'profession' => 'Scientist',
));
```

[See full example](examples/add-user-properties.php)

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~0 days

Total

2

Last Release

1437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06a3a03690d419daef0cef7a3730a0210da9bed57566a160c0b00fece3090acb?d=identicon)[gfaecke](/maintainers/gfaecke)

---

Top Contributors

[![iagomls](https://avatars.githubusercontent.com/u/6279712?v=4)](https://github.com/iagomls "iagomls (10 commits)")[![guidofaecke](https://avatars.githubusercontent.com/u/5722331?v=4)](https://github.com/guidofaecke "guidofaecke (4 commits)")[![kyranb](https://avatars.githubusercontent.com/u/5426926?v=4)](https://github.com/kyranb "kyranb (2 commits)")[![bkuhl](https://avatars.githubusercontent.com/u/524933?v=4)](https://github.com/bkuhl "bkuhl (1 commits)")

---

Tags

apianalyticsheapevent trackingheap analytics

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/guidofaecke-heap-php/health.svg)

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

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

608.3M51](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5222.6k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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