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)050↓100%MITPHPPHP ^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 1mo 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

1346d 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

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[siro/php-klaviyo-api

Low level but elegant Klaviyo full API wrapper for PHP with asynchronous track event support

16115.4k](/packages/siro-php-klaviyo-api)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[ozankurt/google-analytics

Laravel Google Analytics

7616.7k](/packages/ozankurt-google-analytics)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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