PHP code example of iagomelanias / heap-php
1. Go to this page and download the library: Download iagomelanias/heap-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
iagomelanias / heap-php example snippets
$heap = new \Heap\Client('APP_ID');
$heap->track('Paid Order', '[email protected]');
$heap = new \Heap\Client('APP_ID');
$heap->addUserProperties('[email protected]', array(
'profession' => 'Scientist',
));
composer