zimbra-api/soap-api
最新稳定版本:3.2.2
Composer 安装命令:
composer require zimbra-api/soap-api
包简介
PHP wrapper library around the Zimbra Soap API
README 文档
README
This library is a simple Object Oriented wrapper for the Zimbra SOAP API.
Requirement
- PHP 8.1.x or later,
- PSR Discovery library for searching installed http clients and http message factories,
- Serializer library for (de-)serializing XML,
- (optional) PHPUnit to run tests,
Installation
Via Composer
$ composer require zimbra-api/soap-api
or just add it to your composer.json file directly.
{ "require": { "zimbra-api/soap-api": "*" } }
Basic usage of admin api
<?php declare(strict_types=1); require_once 'vendor/autoload.php'; use Zimbra\Admin\AdminApi; use Zimbra\Common\Enum\AccountBy; use Zimbra\Common\Struct\AccountSelector; $api = new AdminApi('https://zimbra.server:7071/service/admin/soap'); $api->auth($username, $password); $account = $api->getAccountInfo(new AccountSelector(AccountBy::NAME, $accountName));
From $api object, you can access to all Zimbra Admin API.
Licensing
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
统计信息
- 总下载量: 98.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 63
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-01-28