iagomelanias / heap-php
Library for sending data through Heap API.
Installs: 33 723
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 0
Forks: 6
Open Issues: 3
Requires
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2025-03-30 03:17:21 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', ));