zfr / zfr-mailchimp-module
Zend Framework 2 module for interacting with the v2 MailChimp API, built on top of ZfrMailChimp
Installs: 11 092
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 5
Forks: 3
Open Issues: 0
Requires
- php: >=5.3.3
- zendframework/zend-servicemanager: 2.*
- zfr/zfr-mailchimp: ~2.0
This package is auto-updated.
Last update: 2024-10-29 04:03:54 UTC
README
ZfrMailChimpModule is a Zend Framework 2 module based on ZfrMailChimp.
Requirements
- PHP 5.3
- Zend Framework 2
- ZfrMailChimp
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');