2017 © Pedro Peláez
 

library zimbra-api

PHP wrapper library around the Zimbra Soap API (web service)

image

nucleus-be/zimbra-api

PHP wrapper library around the Zimbra Soap API (web service)

  • Friday, January 22, 2016
  • by jonaswouters
  • Repository
  • 4 Watchers
  • 1 Stars
  • 120 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Zimbra-API

This API is a simple Object Oriented wrapper for the zimbra soap api (web service). It's written with PHP 5.4. It allows you to manage zimbra accounts, zimbra domains and zimbra servers easily., (*1)

Requirement

  • PHP >= 5.4.x with cURL extension,
  • Guzzle 6/psr7 library,
  • Evenement library,
  • PhpCollection library,
  • (optional) PHPUnit to run tests,
  • (optional) Soap extension for WSDL client and run tests.

Autoload

The new version of zimbra-api using Composer. The first step to use zimbra-api is to download composer:, (*2)

$ curl -s http://getcomposer.org/installer | php

Then we have to install our dependencies using:, (*3)

$ php composer.phar install

Now we can use autoloader from Composer by:, (*4)

{
    "require": {
        "nucleus-b/zimbra-api": "^1.0"
    }
}

zimbra-api follows the PSR-0 convention names for its classes, which means you can easily integrate zimbra-api classes loading in your own autoloader., (*5)

Basic usage of zimbra-api admin client

<?php

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

$api = \Zimbra\Admin\AdminFactory::instance('https://localhost:7071/service/admin/soap');
$authToken = $api->auth('username', 'password');
$api->auth('username', 'password');
$account = new \Zimbra\Struct\AccountSelector(\Zimbra\Enum\AccountBy::NAME(), 'username');
$accountInfo = $api->getAccountInfo($account);

From $api object, you can access to all zimbra admin api., (*6)

Licensing

BSD 3-Clause, (*7)

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

The Versions

22/01 2016

dev-master

9999999-dev

PHP wrapper library around the Zimbra Soap API (web service)

  Sources   Download

BSD (3-Clause) License

The Requires

 

library client soap web service zimbra api

22/01 2016

1.1

1.1.0.0

PHP wrapper library around the Zimbra Soap API (web service)

  Sources   Download

BSD (3-Clause) License

The Requires

 

library client soap web service zimbra api

17/12 2015

1.0

1.0.0.0

PHP wrapper library around the Zimbra Soap API (web service)

  Sources   Download

BSD (3-Clause) License

The Requires

 

library client soap web service zimbra api