Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 671 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 671 Bytes

MailChimp Bundle for Symfony

Configuration

Add your details to your app/config/parameters.yml file. For example:

    partfire_mailchimp_api_key: example-key-here
    partfire_mailchimp_list_id: example-list-id

Also add to your app/AppKernel.php file:

    new PartFire\MailChimpBundle\PartFireMailChimpBundle()

Example Usage

Use the service from the container: part_fire_mail_chimp.services.members

Alternatively you can extend the command PartFire\MailChimpBundle\Command\UploadTodaysUsersCommand

Overriding the getAllUsersWhoRegisteredToday method to get a list of new users for today and run the command on a cron daily.