zimbra-api/voice

Voice libraries used by Zimbra Api

1.0.1 2016-03-19 02:45 UTC

This package is auto-updated.

Last update: 2024-04-10 16:32:24 UTC


README

Zimbra Voice provides wrapper for the zimbra voice client.

Basic usage of zimbra voice client

<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$account = new \Zimbra\Struct\AccountSelector(\Zimbra\Enum\AccountBy::NAME(), 'username');
$api = \Zimbra\Voice\VoiceFactory::instance('https://localhost/service/soap');
$api->auth($account, 'password');

From $api object, you can access to all zimbra voice api.

Installation

This package can be installed easily using Composer <http://getcomposer.org>. Simply add the following to the composer.json file at the root of your project:

{
    "require": {
        "zimbra-api/mail": "*"
    }
}

Then install your dependencies using composer.phar install.