PHP code example of ezvenue / ezvenue-php-sdk
1. Go to this page and download the library: Download ezvenue/ezvenue-php-sdk 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/ */
ezvenue / ezvenue-php-sdk example snippets
use \EZVenue\EZVenue;
use \EZVenue\Lookup;
const EZV_USERNAME = 'YOUR_EZV_USERNAME';
const EZV_ACCESS_TOKEN = 'YOUR_EZV_ACCESS_TOKEN';
$ezv = new EZVenue(EZV_USERNAME, EZV_ACCESS_TOKEN);
$data = [
'ref' => 'XXXX',
'amount' => 1000,
'address' => '1234 Your Address, TX 12345' // can be a coordinates e.g. 123.233334,-93.334343
];
$lookup = $ezv->lookup($data);
print_r($lookup);
term
$ composer