2017 © Pedro Peláez
 

symfony-bundle mailchimp-bundle

Thin abstraction layer for the MailChimp API 2.0.

image

coderbyheart/mailchimp-bundle

Thin abstraction layer for the MailChimp API 2.0.

  • Tuesday, July 26, 2016
  • by coderbyheart
  • Repository
  • 1 Watchers
  • 3 Stars
  • 4,487 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

MailChimp Bundle

Thin abstraction layer for the MailChimp API 2.0., (*1)

All API endpoints are implemented … by not implementing them but taking advantage of the API's naming conventions., (*2)

SensioLabsInsight, (*3)

Build Status Code Climate Test Coverage, (*4)

Getting started

Install with composer:, (*5)

php composer.phar require coderbyheart/mailchimp-bundle

Enable the Bundle:, (*6)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Coderbyheart\MailChimpBundle\CoderbyheartMailChimpBundle(),
    );
}

Configure the Bundle:, (*7)

// app/config/config.yml

coderbyheart_mail_chimp:
    api_key:     123-us1  # the api key provided by mailchimp
    return_type: object   # return response data as 'object' or 'array'

Usage

$mailchimp = $container->get('mailchimp');
$lists = $mailchimp->listsList();

Documentation

The api endpoints are reached via a method call on the MailChimp API object instance. The method name is composed by concatenating the endpoint url. Parameters are provided via a hash as the methods argument., (*8)

API endpoint Method Arguments
lists/list listsList
lists/batch-unsubscribe listsBatch_unsubscribe array('batch' => $batch)

The Versions

26/07 2016

dev-master

9999999-dev

Thin abstraction layer for the MailChimp API 2.0.

  Sources   Download

MIT

The Requires

 

The Development Requires

10/11 2014

v1.1.1

1.1.1.0

Thin abstraction layer for the MailChimp API 2.0.

  Sources   Download

MIT

The Requires

 

The Development Requires

10/11 2014

v1.1.0

1.1.0.0

Thin abstraction layer for the MailChimp API 2.0.

  Sources   Download

MIT

The Requires

 

The Development Requires

06/11 2014

v1.0.2

1.0.2.0

Thin abstraction layer for the MailChimp API 2.0.

  Sources   Download

MIT

The Requires