PHP code example of docplanner / vero-php

1. Go to this page and download the library: Download docplanner/vero-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/ */

    

docplanner / vero-php example snippets



$v = new Vero("YOUR_AUTH_TOKEN");

$v->identify("1234567890", "[email protected]", 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");