PHPackages                             zimbra-api/upload-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. zimbra-api/upload-api

ActiveLibrary

zimbra-api/upload-api
=====================

PHP wrapper library around the Zimbra upload service

3.0.0(2y ago)038BSD-3-ClausePHPPHP ^8.1

Since Aug 1Pushed 2y ago2 watchersCompare

[ Source](https://github.com/zimbra-api/upload-api)[ Packagist](https://packagist.org/packages/zimbra-api/upload-api)[ RSS](/packages/zimbra-api-upload-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (11)Used By (0)

Zimbra Upload
=============

[](#zimbra-upload)

PHP wrapper library around the Zimbra upload service.

Requirement
-----------

[](#requirement)

- PHP 8.1.x or later,
- [PSR Discovery](https://github.com/psr-discovery) library for searching installed http clients and http message factories,
- (optional) PHPUnit to run tests,

Installation
------------

[](#installation)

Via Composer

```
$ composer require zimbra-api/upload-api
```

or just add it to your `composer.json` file directly.

```
{
    "require": {
        "zimbra-api/upload-api": "*"
    }
}
```

This package using [PSR-17: HTTP Factories](https://www.php-fig.org/psr/psr-17/), [PSR-18: HTTP Client](https://www.php-fig.org/psr/psr-18/) for creating multipart stream &amp; sending HTTP requests to Zimbra upload service. Make sure to install package(s) providing ["http client implementation"](https://packagist.org/providers/psr/http-client-implementation) &amp; ["http factory implementation"](https://packagist.org/providers/psr/http-factory-implementation). The recommended package is [Guzzle](https://docs.guzzlephp.org) which provide both PSR-17 &amp; PSR-18.

```
$ composer require guzzlehttp/guzzle
```

Basic usage of `zimbra` upload client
-------------------------------------

[](#basic-usage-of-zimbra-upload-client)

```
