mailchimp-bundle

Build Status Packagist Packagist GitHub license

This bundle will help you synchronise your project's newsletter subscribers into MailChimp through MailChimp API V3.

Features

  • Use your own userProvider (basic FosSubscriberProvider included to interface with FosUserBundle)
  • Use your own listProvider (DoctrineListProvider included to retrieve your list from a database)
  • Synchronize Merge Fields with your config
  • Synchronize your subscriber with a List
  • Use lifecycle event to subscribe/unsubscribe/delete subscriber from a List
  • Retrieve MailChimp Object to make custom MailChimp API V3 requests
  • Register Webhooks

Setup

Add bundle to your project:

composer require welp/mailchimp-bundle

Add Welp\MailchimpBundle\WelpMailchimpBundle to your AppKernel.php:

$bundles = [
    // ...
    new Welp\MailchimpBundle\WelpMailchimpBundle(),
];

Minimal Configuration

In your config.yml:

welp_mailchimp:
    api_key: YOURMAILCHIMPAPIKEY

More configuration on the documentation.

Documentation

Contributing

If you want to contribute to this project, look at over here