alexleonard / php-mailchimp

A PHP library for working w/ the Mailchimp API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mailchimp

A PHP library for working w/ the Mailchimp API.

Install

Normal install via Composer.

Usage

Call the desired method and pass the params as a single array.

$response = Travis\Mailchimp::list_subscribe(array(
    'apikey' => 'YOUR_API_KEY',
    'id' => 'YOUR_LIST_ID',
    'email_address' => 'foo@bar.com',
));

Just make sure you pass all the required fields.

About

A PHP library for working w/ the Mailchimp API.


Languages

Language:PHP 100.0%