2017 © Pedro Peláez
 

library mailchimp

Easily manage Mailchimp API v3

image

grork/mailchimp

Easily manage Mailchimp API v3

  • Wednesday, July 6, 2016
  • by Grork
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MailChimp API v3

This class will help you to manage the MailChimp API v3., (*1)

It's not complete, but the most important methods are included., (*2)


Getting started

  1. Install package with composer: composer require grork/mailchimp=dev-master. If you don't want to use composer, you can download the repository and extract it in your project folder.
  2. Require the autoload with require __DIR__ . '/vendor/autoload.php' or with require __DIR__ . '/src/Mailchimp.php (or wherever you placed the folder)
  3. Init the class with $mailchimp = new Grork\Mailchimp( '<API-KEY-HERE>' ). You can obtain your API Key logging into MailChimp > Account > Extras > API Keys > Create A Key

It's better to init the class with the following code, catching the exceptions:, (*3)

try {
    $mailchimp = new Grork\Mailchimp( '<API-KEY-HERE>' );
} catch( Exception $e ) {
    die( 'Error: ' . $e->getMessage() );
}

Documentation

For the documentation, you can check the [wiki][1]., (*4)

The Versions

06/07 2016

dev-master

9999999-dev https://github.com/DaniloPolani/MailChimp-API-v3

Easily manage Mailchimp API v3

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api mailchimp