PHPackages                             zirak/silverstripe-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. zirak/silverstripe-mailchimp

ActiveSilverstripe-module

zirak/silverstripe-mailchimp
============================

Adds mailchimp integration to SilverStripe, eventually inside a widget

2.1(10y ago)2885[1 PRs](https://github.com/g4b0/silverstripe-mailchimp/pulls)PHP

Since Nov 12Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)Used By (0)

silverstripe-mailchimp
======================

[](#silverstripe-mailchimp)

MailChimp subscription form

The form could be injected into a widget, or used inside a page through the MailChimp extension

Maintainer Contact
------------------

[](#maintainer-contact)

Gabriele Brosulo \[gabriele.brosulo (at) zirak (dot) it\]

Features
--------

[](#features)

- Subscription widget form
- Static function callable from outside

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

[](#requirements)

- Silverstripe framework 3.1.\*
- Silverstripe cms 3.1.\*

Suggestions
-----------

[](#suggestions)

- silverstripe/widget
- zirak/widget-pages-extension

Install
-------

[](#install)

Install it through composer:

```
	composer require zirak/silverstripe-mailchimp

```

### Using in a page

[](#using-in-a-page)

Extend the Page class (or whatever class you want to use) whit the MailChimp extension:

```
---
Name: mailchimp-extensions
---
Page:
  extensions:
    - MailChimp
```

Then render the $McSubscribeForm variable inside your template:

```

		$Title
		$Content

		$Form
		$PageComments
		$McSubscribeForm

```

### Using inside a widget

[](#using-inside-a-widget)

Simply use the MailChimpSubscribe widget as usual [documentation here](https://github.com/silverstripe/silverstripe-widgets)

### Using inside a widget with widget-pages-extension

[](#using-inside-a-widget-with-widget-pages-extension)

Define the widgetareas in your pages, like stated in [widget-pages-extension module](https://github.com/g4b0/silverstripe-widget-pages-extension)After that define which widget are allowed for your pages, in particular MailChimpSubscribe.

For example your Page.php will become

```
class Page extends SiteTree {

	private static $db = array(
	);
	private static $has_one = array(
			'SideBar' => 'WidgetArea'
	);
	private static $allowed_widgets = array(
			'MailChimpSubscribe'
	);

}
```

Run a /dev/build?flush=all and enjoy your widgets. Due to a known issue in widget-pages-extension you have to save each page you will need to put the widgets on. For more information about how to use the widgets please see the [widget-pages-extension module documentations](https://github.com/g4b0/silverstripe-widget-pages-extension)

Usage
-----

[](#usage)

- Configure your MailChimp APIKEY and ListID
- Enable the widget
- Play with the mailchimp.yml config file in your mysite folder, in conjunction with the MailChimp configurations. Follow a sample mailchimp.yml

```
---
Name: mailchimp
---
MailChimpController:
  #apikey - see http://admin.mailchimp.com/account/api
  apikey: 'afe564e2dbbeb74f392de68f927ac326ef4-us6'
  # A List Id to run examples against. use lists() to view all
  # Also, login to MC account, go to List, then List Tools, and look for the List ID entry
  listid: '8e5f26f915'
  redirect: true
  redirect_ok: 'reg-ok/'
  redirect_ko: 'reg-ko/'
  country: true
  topics: true
  topicsArr: ['Web development', 'Sysadmin', 'PHP', 'Javascript', 'HTML & CSS']
  otherTopic: true
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~64 days

Recently: every ~81 days

Total

6

Last Release

3876d ago

Major Versions

1.3 → 2.02015-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/11ee3ded134711b9ff1d704b1d448a7d3fdfe1b5f5b2e2809cda7eeac8356de5?d=identicon)[g4b0](/maintainers/g4b0)

---

Top Contributors

[![g4b0](https://avatars.githubusercontent.com/u/2427390?v=4)](https://github.com/g4b0 "g4b0 (10 commits)")

---

Tags

silverstripewidgetmailchimpnewslettermailinglist

### Embed Badge

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

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

###  Alternatives

[camfindlay/apes

The Automated Provision of Email Services (APES) module will allow you to set up an automated sync mechanism between the SilverStripe Member DataObject and MailChimp.

122.6k](/packages/camfindlay-apes)

PHPackages © 2026

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