previewict / vonage-php-api

Vonage Business Cloud Phone System Integration API in PHP. Integrate vonage cloud phone system with your PHP application, More ROI, Smart CRM, Grow Sales.
MIT License
2 stars 1 forks source link

vonage-php-api

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.