Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 540 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 540 Bytes

Heap PHP Client

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', '[email protected]');

See full example

Add User Properties

$heap = new \Heap\Client('APP_ID');
$heap->addUserProperties('[email protected]', array(
    'profession' => 'Scientist',
));

See full example