zfr/zfr-mailchimp-bundle

Symfony bundle for integrating the ZfrMailChimp library

Maintainers

๐Ÿ‘ bakura10

Package info

github.com/zf-fr/zfr-mailchimp-bundle

pkg:composer/zfr/zfr-mailchimp-bundle

Statistics

Installs: 25โ€‰815

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 1

v2.0.0 2013-12-27 12:19 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 83bcda364dc50274bc27419901fa2092d098c2fa

mailSymfony2mailchimpcampaign

This package is auto-updated.

Last update: 2026-06-29 01:08:18 UTC


README

๐Ÿ‘ Latest Stable Version

A Symfony 2 bundle for the ZfrMailChimp library.

Installation

To install the bundle, require it through composer via the command line:

php composer.phar require zfr/zfr-mailchimp-bundle

or via your composer.json file:

{
 "require": {
 "zfr/zfr-mailchimp-bundle": "2.*"
 }
}

To have composer download the needed files, run:

$ php composer.phar update zfr/zfr-mailchimp-bundle

This will place the bundle (and the ZfrMailChimp library) inside the vendor/zfr directory of your project.

Next, enable the bundle in your project by adding it to the AppKernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
 $bundles = array(
 // ...
 new ZfrMailChimpBundle\ZfrMailChimpBundle()
 );
}

Configuration

To configure the bundle, add the following to your app/config/config.yml:

# app/config/config.yml
zfr_mail_chimp:
 api_key: #your MailChimp API key here (required)
 async: #use Guzzle's Asyncronous library (default: false)

Usage

Lastly, call the client using Symfony's DI Container:

$mailchimp = $this->get('zfr_mailchimp')->getClient();