PHPackages                             oneup/mailchimp-api-v3 - 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. oneup/mailchimp-api-v3

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

oneup/mailchimp-api-v3
======================

Simple PHP library for MailChimp API V3

2.7.1(2y ago)825.8k↓25%31MITPHPPHP ^7.4 || ^8.0

Since Oct 19Pushed 2y ago2 watchersCompare

[ Source](https://github.com/1up-lab/mailchimp-api-v3)[ Packagist](https://packagist.org/packages/oneup/mailchimp-api-v3)[ Docs](https://1up.io)[ RSS](/packages/oneup-mailchimp-api-v3/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (19)Used By (1)

MailChimp API V3 Wrapper
========================

[](#mailchimp-api-v3-wrapper)

This is a basic PHP wrapper for the MailChimp API V3 for subscribe/unsubscribe to/from lists.

[![Author](https://camo.githubusercontent.com/a1ca831710cc70c5c356e8dbc27e1212ed4d41a3ad0c6d9f7afbb02d78250cf4/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40317570676d62682d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/1upgmbh)[![Software License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/8f3d0916e8945eeb9f42938938db10da6a1bd159257f9b80ec5e65c40326a296/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e6575702f6d61696c6368696d702d6170692d76332e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oneup/mailchimp-api-v3)

Examples
========

[](#examples)

**Subscribe**

```
$mc = new \Oneup\MailChimp\Client('thisShouldBeYourApiKeyFromMailChimp-us1');
$response = $mc->subscribeToList(
    'ea06b81001',           // List ID
    'foo@bar.baz',          // E-Mail address
    [                       // Array with first/lastname (MailChimp merge tags)
        'FNAME' =>  'Foo',
        'LNAME' => 'Bar',
    ],
    true                    // Double opt-in true
);
```

**Unsubscribe**

```
$mc = new \Oneup\MailChimp\Client('thisShouldBeYourApiKeyFromMailChimp-us1');
$response = $mc->unsubscribeFromList('yourListId', 'foo@bar.baz');
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% 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 ~166 days

Recently: every ~92 days

Total

18

Last Release

1042d ago

Major Versions

1.1.1 → 2.0.02016-10-28

PHP version history (3 changes)1.0.0PHP &gt;=5.4

2.3.1PHP ^5.4 || ^7.0

2.6.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/87bf1d07a851471e5d0ba2052e6a7a78d6313378214087a2919ff9979656ad0b?d=identicon)[bytehead](/maintainers/bytehead)

---

Top Contributors

[![bytehead](https://avatars.githubusercontent.com/u/754921?v=4)](https://github.com/bytehead "bytehead (18 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (5 commits)")[![sheeep](https://avatars.githubusercontent.com/u/607530?v=4)](https://github.com/sheeep "sheeep (2 commits)")[![Toflar](https://avatars.githubusercontent.com/u/481937?v=4)](https://github.com/Toflar "Toflar (1 commits)")

---

Tags

apiemailmailchimpmarketingservicesv3

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/oneup-mailchimp-api-v3/health.svg)

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

###  Alternatives

[mailjet/mailjet-apiv3-php

PHP wrapper for the Mailjet API

27411.4M77](/packages/mailjet-mailjet-apiv3-php)[oneup/contao-mailchimp

This extension connects a Contao installation with MailChimp.

1215.3k](/packages/oneup-contao-mailchimp)[ecomailcz/ecomail

Ecomail.cz API Wrapper

17383.8k4](/packages/ecomailcz-ecomail)[princealikhan/laravel-mautic-api

Free and Open Source Marketing Automation API

415.9k](/packages/princealikhan-laravel-mautic-api)

PHPackages © 2026

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