versionable/mandrill

Library for interacting with the Mandrill API

dev-master / 1.0.x-dev 2014-11-14 11:31 UTC

This package is not auto-updated.

Last update: 2024-05-11 11:53:15 UTC


README

API for interacting with the API at http://mandrillapp.com/api/docs/.

Usage

Example to get information about the current authenticated user:

use Versionable\Mandrill\Client;
use Versionable\Mandrill\Manager\UserManager;

$client = new Client($apiKey);
$userManager = new UserManager($client);

$user = $userManager->info();

Dependancies

To use this library it is recommended that you install the dependancies.

This library uses Composer, to install the dependancies download composer following the instructions on http://getcomposer.org/ and then run the following:

php composer.phar install

Tests

You can run the unit tests with the following command:

phpunit