zimbra-api / account
Account libraries used by Zimbra Api
Installs: 2 339
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
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-11-10 17:45:54 UTC
README
Zimbra Account provides wrapper for the zimbra account client.
Basic usage of zimbra
account 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\Account\AccountFactory::instance('https://localhost/service/soap'); $api->auth($account, 'password'); $accountInfo = $api->getAccountInfo($account);
From $api
object, you can access to all zimbra account 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/account": "*" } }
Then install your dependencies using composer.phar install
.