Skip to content

simple integration to add users to mailchimp list via symfony service

License

Notifications You must be signed in to change notification settings

RedFireDigital/MailChimpBundle

Repository files navigation

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.

About

simple integration to add users to mailchimp list via symfony service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published