iagomelanias / heap-php
Library for sending data through Heap API.
Installs: 33 713
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 1
Forks: 6
Open Issues: 3
Requires
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2024-11-10 01:24:15 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', ));