zimbra-api / account
Zimbra Api使用的账户库
1.0.2
2016-03-26 06:03 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-09-10 17:25:35 UTC
README
Zimbra 账户提供了对 zimbra 账户客户端的封装。
zimbra
账户客户端的基本用法
<?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:///service/soap'); $api->auth($account, 'password'); $accountInfo = $api->getAccountInfo($account);
从 $api
对象,你可以访问所有 Zimbra 账户 API。
安装
可以使用 Composer <https://getcomposer.org.cn>
轻松安装此包。只需将以下内容添加到项目根目录下的 composer.json 文件中
{ "require": { "zimbra-api/account": "*" } }
然后使用 composer.phar install
安装您的依赖项。