Basic PHP application to interact with Mailchimp API and receive Webhooks.
322
Basic PHP application to interact with Mailchimp API and receive Webhooks.
GET /: Home pagePOST /subscribe: Subscribe to the listPOST /event/subscribe: Webhook when a user subscribeBasic run (without envs): docker run -p 80:80 lefuturiste/mailchimper
You can set environments variables by using a .env file
| Name | Example value | Default docker value |
|---|---|---|
| APP_NAME | mailchimper | mailchimper |
| APP_ENV_NAME | staging | prod |
| APP_DEBUG | 1 | 1 |
| LOG_DISCORD | 1 | 0 |
| LOG_PATH | ../log | ../log |
| LOG_LEVEL | INFO | INFO |
| LOG_DISCORD_WH | https://discordapp.com/api/webhooks/ID/TOKEN | Yes |
| MAILCHIMP_API_KEY | OHqUg2ZigMshSX2ZUrh5m9qpoJ8ZchEK-us18 | Not set |
| DISCORD_WH | https://discordapp.com/api/webhooks/ID/TOKEN | Not set |
| MAILCHIMP_LIST_ID | c6b690fc10 | Not set |
Tests are coming...

Content type
Image
Digest
Size
153.6 MB
Last updated
about 8 years ago
docker pull lefuturiste/mailchimper