PHPackages                             adgek/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. [API Development](/categories/api)
4. /
5. adgek/mailchimp

ActiveLibrary[API Development](/categories/api)

adgek/mailchimp
===============

Mailchimp API wrapper, includes Laravel 5 support.

v2.2(10y ago)031MITPHPPHP &gt;=7.0.0

Since Jun 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Adgek/mailchimp)[ Packagist](https://packagist.org/packages/adgek/mailchimp)[ RSS](/packages/adgek-mailchimp/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (6)Used By (0)

Mailchimp
=========

[](#mailchimp)

A wrapper and Laravel integration for [Drew McLellan's Mailchimp v3](https://github.com/drewm/mailchimp-api/blob/api-v3/src/MailChimp.php)

### Installation

[](#installation)

- `composer require nztim/mailchimp`
- For Laravel 5 support:
    - Add the service provider to `config/app.php`: `NZTim\Mailchimp\MailchimpServiceProvider::class,`
    - Register the facade: `'Mailchimp' => NZTim\Mailchimp\MailchimpFacade::class,`
    - Add `.env` value for `MC_KEY` (API key)

### Usage

[](#usage)

- For Laravel 5, the `Mailchimp` facade or container instantiation is available, this requires the `.env` value for the API key
- `Mailchimp::check($listId, $emailAddress)` checks to see if an email address is subscribed to a list, returns boolean
- `Mailchimp::subscribe($listId, $emailAddress, $mergeFields = [], $confirm = false)` - adds a new subscriber to the list.
    - $mergeFields - optional array of merge fields
    - $confirm - optional boolean, true = send confirmation email, false = immediately subscribe (permission already obtained)
- Errors
    - All methods return false for errors
    - Check `Mailchimp::error()` after a request to see if there was a problem.
    - Typical errors include networking/communications, incorrect API key, list doesn't exist
- Gotchas: the API throws an error when you
    - Specify a merge field name with incorrect capitalisation
    - Omit a required merge field when adding a new member

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~71 days

Total

5

Last Release

3740d ago

Major Versions

v0.1 → v1.02015-10-17

v1.0 → v2.02016-01-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7457981?v=4)[Adge](/maintainers/Adge)[@Adge](https://github.com/Adge)

---

Top Contributors

[![nztim](https://avatars.githubusercontent.com/u/3453450?v=4)](https://github.com/nztim "nztim (11 commits)")[![Adgek](https://avatars.githubusercontent.com/u/7740652?v=4)](https://github.com/Adgek "Adgek (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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