This package is a simple wrapper for working w/ the Mailchimp API.
In application/bundles.php
add:
'mailchimp' => array('auto' => true),
Copy the sample config file to application/config/mailchimp.php
and input the proper information.
Call the desired method and pass the params as a single array. Don't worry about passing the API key.
$response = Mailchimp::list_subscribe(array(
'id' => '1234567',
'email_address' => '[email protected]',
));
Just make sure you pass all the required fields.
I've included a helper task for printing all lists associated w/ your account. Makes it easy to find list ids.
$ php artisan mailchimp::lists