A PHP API wrapper for v3.0 for the MailChimp API

1.4.2 2017-08-23 09:36 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:07:50 UTC


A PHP API wrapper for v3.0 of the MailChimp API


The recommended way to install this is via composer, however, if you install it manually it will need Guzzle as well.

How to use

$client = new sammaye\mailchimp\Chimp();
$client->apikey = 'chimp_chimp';

Other than that you are done. Everything else please refer to the documentation for the API:


The only other point I need to make is about exceptions.

I have implemented every exception as a class name which extends the base MailChimpException.

This will make it easier to detect specific errors but also if you wish to catch any errors this API may bring up then you need to catch the MailChimpException.