PHP library for sending data through Heap API.
You can install it using Composer:
composer require iagomelanias/heap-php
$heap = new \Heap\Client('APP_ID');
$heap->track('Paid Order', 'example@example.com');
$heap = new \Heap\Client('APP_ID');
$heap->addUserProperties('example@example.com', array(
'profession' => 'Scientist',
));