brabia/mailchimp-api

There is no license information available for the latest version (0.0.1) of this package.

MailChimp API 3.0

0.0.1 2017-04-01 22:45 UTC

This package is not auto-updated.

Last update: 2024-06-09 01:28:51 UTC


README

Super easy PHP based MailChimp 3.0 API.

Installation

Using Composer:

composer require brabia/mailchimp-api
composer install

You will then need to:

  • add the autoloader to your application.

Or just download the MailChimp.php file and include it to your project:

require('MailChimp.php'); 

Examples

$mailChimp = new MailChimp(array(
	'apiKey' => 'apiKey'
));

Get user details:

$mailChimp->getUserDetails(array(
	'user' => 'user@gmail.com', // user email
	'listId' => 'listId' // Your MailChimp listId
));