PHPackages                             exbil/mailcow-php-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. [HTTP &amp; Networking](/categories/http)
4. /
5. exbil/mailcow-php-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

exbil/mailcow-php-api
=====================

A full-featured implementation of the MailCow API with configurable SSL verification and timeout settings

0.15.0(5mo ago)4358↓100%3GPL-3.0-or-laterPHPPHP &gt;=7.4CI passing

Since Oct 5Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/Exbil/mailcow-php-api)[ Packagist](https://packagist.org/packages/exbil/mailcow-php-api)[ RSS](/packages/exbil-mailcow-php-api/feed)WikiDiscussions development Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Mailcow PHP API Client
======================

[](#mailcow-php-api-client)

A full-featured PHP client for the MailCow API with support for all MailCow endpoints.

Getting Started
---------------

[](#getting-started)

### Requirements

[](#requirements)

- **PHP 7.4+** (PHP 8.0+ recommended)
- Extensions: [Composer](https://getcomposer.org/), [PHP-JSON](https://www.php.net/manual/en/book.json.php)
- [Guzzle HTTP Client](https://docs.guzzlephp.org/) 7.5+

### Installation

[](#installation)

In the root of your project execute the following:

```
composer require exbil/mailcow-php-api
```

or add this to your `composer.json` file:

```
{
    "require": {
        "exbil/mailcow-php-api": "^0.15.0"
    }
}
```

Then perform the installation:

```
composer install --no-dev
```

Usage
-----

[](#usage)

Search for the API Documentation [here](https://demo.mailcow.email/api/) or your own mailcow instance via `https://domain.com/api`.
You need an API Key which can be found in your self-hosted instance within the admin dashboard.

### Basic Example

[](#basic-example)

```
