previewict/vonage-php-api

PHP API for Vonage Cloud Phone System

2.2 2015-08-24 12:07 UTC

This package is auto-updated.

Last update: 2024-11-06 09:12:45 UTC


README

Vonage Business Cloud Phone System Integration API in PHP. Integrate vonage cloud phone system with your PHP application, More ROI, Smart CRM, Grow Sales.

###Installation Install via Composer

    sudo composer install

Copy/paste config.sample & rename it to config.php with your Vonage Username & Password.

###Basic Usage To Make a Call

<?php
require "vendor/autoload.php";
require "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();

See the result as PHP debug format.