iagomelanias / heap-php
This package is abandoned and no longer maintained.
No replacement package was suggested.
Library for sending data through Heap API.
v1.1.0
2020-03-27 03:55 UTC
Requires
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2025-05-11 03:58:14 UTC
README
PHP library for sending data through Heap API.
Installation
You can install it using Composer:
composer require iagomelanias/heap-php
Track Events
$heap = new \Heap\Client('APP_ID'); $heap->track('Paid Order', 'example@example.com');
Add User Properties
$heap = new \Heap\Client('APP_ID'); $heap->addUserProperties('example@example.com', array( 'profession' => 'Scientist', ));