Code Monkey home page Code Monkey logo

Zimbra SOAP API library

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

BSD 3-Clause

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

zimbra-api's Projects

account icon account

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Account component

admin icon admin

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Admin component

common icon common

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Common component

dart-api icon dart-api

Zimbra SOAP client library in Dart language.

enum icon enum

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Enum component

mail icon mail

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Mail component

soap icon soap

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Soap component

struct icon struct

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Struct component

voice icon voice

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Voice component

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.