PHPackages                             swordfox/silverstripe-userform-mailchimpfield - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swordfox/silverstripe-userform-mailchimpfield

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

swordfox/silverstripe-userform-mailchimpfield
=============================================

Adds a custom field to UserForms which allows you to select a list from MailChimp and subscribe on submission.

2.2.4(4mo ago)07251[1 PRs](https://github.com/swordfox/silverstripe-userform-mailchimpfield/pulls)BSD-3-ClausePHP

Since Oct 16Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/swordfox/silverstripe-userform-mailchimpfield)[ Packagist](https://packagist.org/packages/swordfox/silverstripe-userform-mailchimpfield)[ RSS](/packages/swordfox-silverstripe-userform-mailchimpfield/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (11)Used By (0)

\#MailChimp UserForm Field Adds a custom field to UserForms which allows you to select a list from MailChimp and subscribe on submission.

Also allows additional merge\_fields to be added for each field in the form.

### Installation

[](#installation)

Via composer

```
composer require swordfox/silverstripe-userform-mailchimpfield

```

##### Configuration

[](#configuration)

To connect to your MailChimp field you will need to set two fields in your config.yml.

```
Swordfox\UserForms\EditableMailChimpField:
  api_key: 'API KEY GOES HERE'

```

^ These setting can be found in client settings area in MailChimp.

##### Customisation

[](#customisation)

You can also change what type of field is actually used on the UserForm. By Default it's a checkbox field. You can change this via your config.yml OR via the CMS per form.

##### Extensions

[](#extensions)

There are a few extension hooks which can be useful to handle data before and after saving throughout the process.

- `$this->extend('beforeValueFromData', $data)`
- `$this->extend('afterValueFromData', $data)`
- `$this->extend('updateLists', $data)`

[![field configuration example](https://camo.githubusercontent.com/19d7340c46e027be563e6affc4a40bdd46fa012f68fee56b0113d896c314332c/68747470733a2f2f692e6962622e636f2f6d5858796b666a2f4564697461626c652d4d61696c2d4368696d702d4669656c642e706e67)](https://camo.githubusercontent.com/19d7340c46e027be563e6affc4a40bdd46fa012f68fee56b0113d896c314332c/68747470733a2f2f692e6962622e636f2f6d5858796b666a2f4564697461626c652d4d61696c2d4368696d702d4669656c642e706e67)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance74

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~129 days

Recently: every ~113 days

Total

10

Last Release

140d ago

Major Versions

1.0.2 → 2.0.02024-02-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/96b760811dd50cc818deef02183cfabd8efacbc8f27af1c5f1fcde738980d2dd?d=identicon)[swordfox](/maintainers/swordfox)

---

Top Contributors

[![swordfox](https://avatars.githubusercontent.com/u/549500?v=4)](https://github.com/swordfox "swordfox (13 commits)")

---

Tags

silverstripemailchimpuserforms

### Embed Badge

![Health badge](/badges/swordfox-silverstripe-userform-mailchimpfield/health.svg)

```
[![Health](https://phpackages.com/badges/swordfox-silverstripe-userform-mailchimpfield/health.svg)](https://phpackages.com/packages/swordfox-silverstripe-userform-mailchimpfield)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.0M72](/packages/silverstripe-userforms)

PHPackages © 2026

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