magdev/mailchimp-silex-provider

This package is abandoned and no longer maintained. No replacement package was suggested.

Silex Service-Provider for the Mailchimp-API

dev-master 2014-09-27 14:16 UTC

This package is auto-updated.

Last update: 2020-02-05 08:26:34 UTC


README

##Installation

Add it using Composer :

{
    "require": {
        "magdev/mailchimp-silex-provider": "dev-master"
    }
}

and until this package is registered at Packagist add the repository

{
    "repositories" : [{
            "type" : "vcs",
            "url" : "git@github.com:magdev/mailchimp-silex-provider.git"
        }
    ]
}

##Usage

###Registering the provider

use Silex\Application;
use SilexMailchimp\Provider\MailchimpServiceProvider;

$app = new Application();
$app->register(new MailchimpServiceProvider(), array(
    'mailchimp.apikey' => 'Your API-Key',
    'mailchimp.options' => array(),  // An array with options for mailchimp/mailchimp
));

##License

This package is released under the MIT license