PHPackages                             egangloff/yii2-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. egangloff/yii2-mailchimp

ActiveLibrary[API Development](/categories/api)

egangloff/yii2-mailchimp
========================

Yii2 Component for Mailchimp Api V3

2431[1 issues](https://github.com/egangloff/yii2-mailchimp/issues)PHP

Since Jun 25Pushed 6y agoCompare

[ Source](https://github.com/egangloff/yii2-mailchimp)[ Packagist](https://packagist.org/packages/egangloff/yii2-mailchimp)[ RSS](/packages/egangloff-yii2-mailchimp/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-mailchimp
==============

[](#yii2-mailchimp)

Yii2 Component for Mailchimp Api V3 using Curl

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist linslin/yii2-curl "*"
php composer.phar require --prefer-dist egangloff/yii2-mailchimp "dev-master"

```

or add

```
"linslin/yii2-curl": "*",
"egangloff/yii2-mailchimp": "dev-master"

```

to the require section of your `composer.json` file.

Configuration
-------------

[](#configuration)

Setup component in `config/main.php`

```
'components' => [
        'mailchimp' => [
            'class' => Mailchimp::class,
            'apikey' => 'Your_Mailchimp_Api-Key'
        ],
    ]

```

Use
---

[](#use)

In your controller,

```
use egangloff\mailchimp\mailchimp;

$mailchimp = new Mailchimp;

```

Methods
-------

[](#methods)

Get all lists

```
    $mailchimp->getLists();

```

Get A specific list

```
    $mailchimp->getLists('')

```

Get all members from a list

```
    $mailchimp->getMembers('')

```

Get a specific member from a list

```
    $mailchimp->getLists('', '')

```

Add a Member to a list

```
    $mailchimp->addMember('', ', '', '', '')

```

Delete a member from a list

```
    $mailchimp->deleteMember('', '')

```

Error Management
----------------

[](#error-management)

```
    echo 'Status Code: ' . $mailchimp->statuscode . ' - Status Message: ' . $mailchimp->statustext;

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![egangloff](https://avatars.githubusercontent.com/u/10196549?v=4)](https://github.com/egangloff "egangloff (9 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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