zimbra-api / admin
Admin libraries used by Zimbra Api
1.0.3
2016-03-26 06:15 UTC
Requires
- php: >=5.4.0
- zimbra-api/soap: ~1.0
Requires (Dev)
- fzaninotto/faker: ~v1.5.0
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-12-10 17:46:08 UTC
README
Zimbra Admin provides wrapper for the zimbra admin client.
Basic usage of zimbra
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'); $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.
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/admin": "*" } }
Then install your dependencies using composer.phar install
.