PHPackages                             doowebdev/mailchimp-api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. doowebdev/mailchimp-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

doowebdev/mailchimp-api
=======================

Doowebdev PHP MailChimp API v2 Wrapper using Guzzle

1.4(11y ago)028MITPHPPHP &gt;=5.4.0

Since Feb 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/webberdoocom/mailchimp-api)[ Packagist](https://packagist.org/packages/doowebdev/mailchimp-api)[ Docs](https://github.com/doowebdev/doowebdev)[ RSS](/packages/doowebdev-mailchimp-api/feed)WikiDiscussions master Synced 1w ago

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

Mailchimp API
=============

[](#mailchimp-api)

An Easy to use PHP wrapper for the MailChimp API v2 using Guzzle

\#Installation:

 **Requires:** php 5.4+ and Guzzle (will be added automatically when you install this package).

To install the latest version of doowebdev/mailchimp-api simply add it to your composer.json file in the 'require section':

```
"doowebdev/mailchimp-api": "dev-master"
```

Next Run 'composer install' in your command console to add the package to your projects vendor folder.

Once the package is installed, you need to initialize the MailChimpApi class:

```
require 'vendor/autoload.php';

use Doowebdev\MailChimpApi;
```

How to use
==========

[](#how-to-use)

Assuming you are using php classes in your application use the following as an example:

In a controller:

```
use Doowebdev\MailChimpApi;

class SomeClass
{

    public function someMethod()
    {
        $mc = new MailChimpApi('YOUR-MAILCHIMP-APIKEY-GOES-HERE');

       //We are using the 'lists/subscribe' method to subscribe a user/visitor to our newsletter list.
        $results = $mc->run('lists/subscribe',[
            'id'                => 'YOUR-LIST-ID-GOES-HERE',
            'email'             => ['email'=>'subscribers@email.com'],
            'merge_vars'        => ['FNAME'=>'subscribers_firstname', 'LNAME'=>'subscribers_lastname'],
            'double_optin'      => true,
            'update_existing'   => true,
            'replace_interests' => false,
            'send_welcome'      => true,
        ]);

        var_dump($results);
    }

}
```

**Thats it!**

To get the complete list of methods you can use visit the official MailChimp API documentation here:

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

4190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c50a532d523814ce941dee90566eea36225e02f4e852b311a8b356d2d830c129?d=identicon)[webberdoo](/maintainers/webberdoo)

---

Top Contributors

[![webberdoocom](https://avatars.githubusercontent.com/u/4840686?v=4)](https://github.com/webberdoocom "webberdoocom (11 commits)")

---

Tags

GuzzlemailchimpPHP-APImailchimp api v2api v2

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k54](/packages/neuron-core-neuron-ai)[guzzlehttp/oauth-subscriber

Guzzle OAuth 1.0 subscriber

24215.8M157](/packages/guzzlehttp-oauth-subscriber)[illuminate/http

The Illuminate Http package.

11938.5M8.2k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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