Mailchimp Api Php Versions Save

PHP library for v3 of the MailChimp API.

v3.0.1

5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/thinkshout/mailchimp-api-php/compare/v3.0.0...v3.0.1

v3.0.0

11 months ago

What's Changed

Full Changelog: https://github.com/thinkshout/mailchimp-api-php/compare/v2.1.3...v3.0.0

v3.0.0-rc5

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/thinkshout/mailchimp-api-php/compare/v3.0.0-rc4...v3.0.0-rc5

v3.0.0-rc4

1 year ago

v3.0.0-rc3

1 year ago

v3.0.0-rc2

1 year ago

What's Changed

Full Changelog: https://github.com/thinkshout/mailchimp-api-php/compare/v3.0.0-rc1...v3.0.0-rc2

v3.0.0-rc1

1 year ago

This release candidate updates the library architecture to allow support for both API key-based authentication (existing) and OAuth authentication (new)

  • Now to instantiate a Mailchimp connection you need to instantiate a MailchimpApiInterface and a MailchimpApiIUser with something like the following:
// Instantiate MailchimpApiInterface
$authentication_settings = [
  'access_token' => $this->stateService->get('mailchimp_access_token'),
  'data_center' => $this->stateService->get('mailchimp_data_center'),
  'api_user' => 'oauth',
];

// Use Mailchimp2 for OAuth and Mailchimp for api_key.
$api_class = new Mailchimp2($authentication_settings);

$http_options = [
  'timeout' => $this->config->get('api_timeout'),
  'headers' => [
    'User-Agent' => _mailchimp_get_user_agent(),
  ],
];

// Instantiate a MailchimpApiUser or a class that extends it (ie. MailchimpLists, MailchimpSignups, etc..)
$mailchip_object = new MailchimpApiUser($api_class, $http_options);

v2.1.3

2 years ago

Fixes a bug caused by missing test classes. See https://www.drupal.org/project/mailchimp/issues/3254786

v2.1.2

2 years ago

Add Licensing.