PHPackages                             rossriley/dotmailer-api-v2-client - 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. rossriley/dotmailer-api-v2-client

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

rossriley/dotmailer-api-v2-client
=================================

Client library for the dotMailer v2 (REST) API.

1.1.5(9y ago)04.6k—7.1%MITPHPPHP &gt;=5.3.3

Since Mar 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rossriley/dotMailer-API-v2-PHP-client)[ Packagist](https://packagist.org/packages/rossriley/dotmailer-api-v2-client)[ Docs](https://github.com/romanpitak/dotMailer-API-v2-PHP-client)[ RSS](/packages/rossriley-dotmailer-api-v2-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (25)Used By (0)

dotMailer API v2 PHP client
===========================

[](#dotmailer-api-v2-php-client)

Update: This is a fully maintained fork of the original package which is no longer usable on PHP7.
--------------------------------------------------------------------------------------------------

[](#update-this-is-a-fully-maintained-fork-of-the-original-package-which-is-no-longer-usable-on-php7)

To point to this fork in your composer.json add the following to the repositories section:

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/rossriley/dotMailer-API-v2-PHP-client"
    }
],

```

(c) 2014-2016 Roman Piták,

PHP client library for the dotMailer v2 (REST) API with **multiple accounts support!**

**Full implementation** according to the

Type hinting support for objects and resources (not yet for arrays).

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

[](#installation)

The best way to install is to use the [Composer](https://getcomposer.org/) dependency manager.

```
php composer.phar require romanpitak/dotmailer-api-v2-client

```

Usage
-----

[](#usage)

### Single account usage

[](#single-account-usage)

```
