zf-fr / zfr-mailchimp-module

A Zend Framework 2 module around ZfrMailChimp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZfrMailChimpModule

Latest Stable Version

ZfrMailChimpModule is a Zend Framework 2 module based on ZfrMailChimp.

Requirements

Installation

We recommend you to use Composer to install ZfrMailChimp:

php composer.phar require zfr/zfr-mailchimp-module:2.*

Enable ZfrMailChimpModule in your application.config.php, then copy-paste the file zfr_mailchimp.local.php.dist (that you can find in the config folder of the module) to your autoload folder (don't forget to remove the .dist at the end!).

Usage

The module registers the MailChimpClient to the ZF 2 service manager. You can therefore get it like this:

// If you want to client:
$mailChimpClient = $serviceManager->get('ZfrMailChimp\Client\MailChimpClient');

About

A Zend Framework 2 module around ZfrMailChimp

License:MIT License


Languages

Language:PHP 100.0%