versionable / mandrill
Library for interacting with the Mandrill API
dev-master / 1.0.x-dev
2014-11-14 11:31 UTC
Requires
- php: >=5.3.0
- versionable/ferret: 1.*
- versionable/prospect: 1.*
This package is not auto-updated.
Last update: 2024-12-21 14:48:01 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