PHP code example of previewict / vonage-php-api
1. Go to this page and download the library: Download previewict/vonage-php-api 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/ */
previewict / vonage-php-api example snippets
re "config.php";
$vonage = new \Vonage\Vonage('vonageUsername', 'VonagePassword');
$params = array(
'start' => date('Y-m-d\TH:i:sP')
);
var_dump($vonage->request('callhistory/{VonageExtensionNumber}', $params)); die();