PHP code example of elitan / telavox-api-php-client

1. Go to this page and download the library: Download elitan/telavox-api-php-client 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/ */

    

elitan / telavox-api-php-client example snippets


composer 



host = 'https://api.telavox.se';
$telavox_username = '08123123123';
$telavox_password = 'secretpassword';

$telavox = new \Telavox\Telavox($api_host, $telavox_username, $telavox_password);

$calls = $telavox->calls();

var_dump($calls);

$telavox->dail('0046771567567');