getvero/vero-php

There is no license information available for the latest version (v1.0.0) of this package.

Library for tracking users and event with Vero's communications platform

v1.0.0 2015-11-03 05:10 UTC

This package is not auto-updated.

Last update: 2024-02-17 14:22:25 UTC


README

Vero PHP client is using cURL on top on our Rest API. Here's how to use it:

require_once('PATH/TO/FILE/vero.php');

$v = new Vero("YOUR_AUTH_TOKEN");

$v->identify("1234567890", "jeff@yourdomain.com", array('First name' => 'Jeff', 'Last name' => 'Kane'));
$v->update("1234567890", array('First name' => 'Jack', 'Last name' => 'Wollo', 'job_title' => 'Developer'));
$v->tags('1234567890', array('Blog reader'), array());

$v->track("Subscribe to service", array('id' => '1234567890'), array('Plan name' => 'XL Plan', 'Price' => 149));

$v->unsubscribe("1234567890");