Sign inSign up

lefuturiste/mailchimper

By lefuturiste

•Updated about 8 years ago

Basic PHP application to interact with Mailchimp API and receive Webhooks.

Image
0

322

lefuturiste/mailchimper repository overview

⁠Mailchimper

Basic PHP application to interact with Mailchimp API and receive Webhooks.

⁠Features

  • Subscribe to the list
  • Unsubscribe to the list
  • Webhook subscribes
  • Webhook unsubscribes
  • Webhook email changed
  • Docker image

⁠Usage

  • GET /: Home page
  • POST /subscribe: Subscribe to the list
  • POST /event/subscribe: Webhook when a user subscribe

⁠Docker image

Basic run (without envs): docker run -p 80:80 lefuturiste/mailchimper

⁠Environments variables

You can set environments variables by using a .env file

NameExample valueDefault docker value
APP_NAMEmailchimpermailchimper
APP_ENV_NAMEstagingprod
APP_DEBUG11
LOG_DISCORD10
LOG_PATH../log../log
LOG_LEVELINFOINFO
LOG_DISCORD_WHhttps://discordapp.com/api/webhooks/ID/TOKEN⁠Yes
MAILCHIMP_API_KEYOHqUg2ZigMshSX2ZUrh5m9qpoJ8ZchEK-us18Not set
DISCORD_WHhttps://discordapp.com/api/webhooks/ID/TOKEN⁠Not set
MAILCHIMP_LIST_IDc6b690fc10Not set

⁠Tests

Tests are coming...

Tests are coming

Tag summary

Content type

Image

Digest

Size

153.6 MB

Last updated

about 8 years ago

docker pull lefuturiste/mailchimper