PHPackages                             edalzell/mailchimp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. edalzell/mailchimp

Abandoned → [silentz/mailchimp](/?search=silentz%2Fmailchimp)Statamic-addon[Mail &amp; Notifications](/categories/mail)

edalzell/mailchimp
==================

Subscribe registrations or contact forms to Mailchimp

v6.2.3(1mo ago)1825114MITPHPPHP ^8.2CI passing

Since Jun 17Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/statamic-rad-pack/mailchimp)[ Packagist](https://packagist.org/packages/edalzell/mailchimp)[ RSS](/packages/edalzell-mailchimp/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (34)Versions (74)Used By (0)

Manage Mailchimp newsletters in Statamic
========================================

[](#manage-mailchimp-newsletters-in-statamic)

[![Latest Version](https://camo.githubusercontent.com/260a08bc619340946571c1a2c2e3a1692a0afbbc301500272f3777d3096d10a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f73746174616d69632d7261642d7061636b2f6d61696c6368696d70)](https://github.com/statamic-rad-pack/mailchimp/releases)

This package provides an easy way to integrate MailChimp with Statamic forms and user registrations.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Statamic v6

Installation
------------

[](#installation)

You can install this package via composer using:

```
composer require statamic-rad-pack/mailchimp
```

The package will automatically register itself.

Configuration
-------------

[](#configuration)

Set your Mailchimp API Key in your `.env` file. You can get it from: [https://admin.mailchimp.com/account/api-key-popup/](https://admin.mailchimp.com/account/api/) and create a new key.

```
MAILCHIMP_API_KEY=your-key-here
```

Configure Mailchimp in the Control Panel [![control panel](https://raw.githubusercontent.com/statamic-rad-pack/mailchimp/main/images/config.png)](https://raw.githubusercontent.com/statamic-rad-pack/mailchimp/main/images/config.png)[![merge fields](https://raw.githubusercontent.com/statamic-rad-pack/mailchimp/main/images/merge-fields.png)](https://raw.githubusercontent.com/statamic-rad-pack/mailchimp/main/images/merge-fields.png)

Usage
-----

[](#usage)

Create your Statamic [forms](https://statamic.dev/forms#content) as usual. When editing the form you'll see a "Mailchimp Integration" section where you can configure if and how that form integrates with your Mailchimp account.

Don't forget to add the consent field to your blueprint.

You can also manage if new users are added a list using the dedicated settings view in the control panel.

### Interests

[](#interests)

You will need to know the `id`s of the interests in order to add them to your form:

```

    Interests

```

To get those IDs, first run `php artisan mailchimp:groups your_form_handle` to get the group ids. Then run `php artisan mailchimp:interests your_form_handle the_group_id` to get the list of interests and their ID. Use those ids in your template (example above).

The interests field in your form blueprint should end up looking something like this (assuming you use the default `interests` as your fields' handle:

```
-
  handle: interests
  field:
    options:
      e25a8f41d6: 'Interest group 1'
      cd1g2413a2: 'Interest group 2'
      1b1a842842: 'Interest group 3'
    type: checkboxes
```

### Marketing Permissions

[](#marketing-permissions)

To work with Mailchimp's [Marketing Permissions](https://mailchimp.com/help/collect-consent-with-gdpr-forms/) you need to do a few things:

1. Get your permissions and ids by running `php artisan mailchimp:permissions {form-handle}` for each of the forms that are in Mailchimp. For example, mine look like:

```
❯ php please mailchimp:permissions contact_us
+-------------------------------+------------+
| Marketing Permission          | ID         |
+-------------------------------+------------+
| Email                         | 2d904xxxxx |
| Customized Online Advertising | 3560exxxxx |
+-------------------------------+------------+

```

2. Add those Mailchimp's config
3. Add the form field that will have those permissions

[![permissions](https://raw.githubusercontent.com/silentzco/statamic-mailchimp/main/images/marketing-permissions.png)](https://raw.githubusercontent.com/silentzco/statamic-mailchimp/main/images/marketing-permissions.png).

Then in your form, have fields like this:

```

    GDPR
    Email

    Online

```

Don't forget to add the `gdpr` field to your form's blueprint.

### Data storage

[](#data-storage)

Any user related settings are stored by default in `resources/mailchimp.yaml`.

If you want to change this or use a different data store, you can bind `\StatamicRadPack\Mailchimp\UserConfig::class` in your app service provider. You should modify the `getSavedSettings`, `save`, and `exists` methods according to your requirements.

Testing
-------

[](#testing)

Run the tests with:

```
vendor/bin/phpunit
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

Please see [SECURITY](SECURITY.md) for details.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance91

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~31 days

Recently: every ~8 days

Total

68

Last Release

34d ago

Major Versions

v2.10 → v3.0.02023-06-28

v3.0.2 → v4.0.02023-07-12

v4.1.2 → v5.0.02024-05-10

v5.3.2 → v6.0.32026-01-29

PHP version history (4 changes)2.0.5PHP ^7.4

v2.5.4PHP ^7.4 || ^8.0

v3.0.0PHP ^8.1

v6.0.3PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/85ea2872499207e557751841b622e1c655c1ea9b56c6bced58686926f0e0fd17?d=identicon)[edalzell](/maintainers/edalzell)

---

Top Contributors

[![edalzell](https://avatars.githubusercontent.com/u/6069653?v=4)](https://github.com/edalzell "edalzell (224 commits)")[![ryanmitchell](https://avatars.githubusercontent.com/u/51899?v=4)](https://github.com/ryanmitchell "ryanmitchell (22 commits)")[![robdekort](https://avatars.githubusercontent.com/u/69107412?v=4)](https://github.com/robdekort "robdekort (6 commits)")[![jonassiewertsen](https://avatars.githubusercontent.com/u/38906163?v=4)](https://github.com/jonassiewertsen "jonassiewertsen (2 commits)")[![duncanmcclean](https://avatars.githubusercontent.com/u/19637309?v=4)](https://github.com/duncanmcclean "duncanmcclean (2 commits)")[![danielreales7](https://avatars.githubusercontent.com/u/5383214?v=4)](https://github.com/danielreales7 "danielreales7 (1 commits)")[![swilla](https://avatars.githubusercontent.com/u/304159?v=4)](https://github.com/swilla "swilla (1 commits)")[![godismyjudge95](https://avatars.githubusercontent.com/u/3847288?v=4)](https://github.com/godismyjudge95 "godismyjudge95 (1 commits)")[![jackmcdade](https://avatars.githubusercontent.com/u/44739?v=4)](https://github.com/jackmcdade "jackmcdade (1 commits)")[![jmalko](https://avatars.githubusercontent.com/u/6345401?v=4)](https://github.com/jmalko "jmalko (1 commits)")[![lwekuiper](https://avatars.githubusercontent.com/u/104916503?v=4)](https://github.com/lwekuiper "lwekuiper (1 commits)")

---

Tags

mailchimpstatamic-addon

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/edalzell-mailchimp/health.svg)

```
[![Health](https://phpackages.com/badges/edalzell-mailchimp/health.svg)](https://phpackages.com/packages/edalzell-mailchimp)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic-rad-pack/mailchimp

Subscribe registrations or contact forms to Mailchimp

1818.5k](/packages/statamic-rad-pack-mailchimp)[duncanmcclean/simple-commerce

A simple, yet powerful e-commerce addon for Statamic.

16313.2k2](/packages/duncanmcclean-simple-commerce)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

322.8k](/packages/duncanmcclean-statamic-cargo)[bitbag/mailchimp-plugin

MailChimp plugin for Sylius.

4463.9k](/packages/bitbag-mailchimp-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
