PHPackages                             serefercelik/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. [Framework](/categories/framework)
4. /
5. serefercelik/mailchimp

ActiveProject[Framework](/categories/framework)

serefercelik/mailchimp
======================

MailChimp subscription

7.0.7(5y ago)010MITPHP

Since Jun 7Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (6)Versions (22)Used By (0)

[![Build Status](https://camo.githubusercontent.com/620fac10de3c6a2a330470b4e6892f4879e8d57742a95863a77e7079b8a49123/68747470733a2f2f7472617669732d63692e6f72672f6a73646563656e612f6d61696c6368696d702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jsdecena/mailchimp)[![Latest Stable Version](https://camo.githubusercontent.com/98b2b1a0bea762adb4becee01160e1ec60ea751ee24174509859782613108fdd/68747470733a2f2f706f7365722e707567782e6f72672f6a73646563656e612f6d61696c6368696d702f762f737461626c65)](https://packagist.org/packages/jsdecena/mailchimp)[![Total Downloads](https://camo.githubusercontent.com/97f42e3e21534294fa8b26057c4a6a6ce39e6538fd79ed193e615cc23972cdc4/68747470733a2f2f706f7365722e707567782e6f72672f6a73646563656e612f6d61696c6368696d702f646f776e6c6f616473)](https://packagist.org/packages/jsdecena/mailchimp)[![License](https://camo.githubusercontent.com/5e59bb227f36581662c83810ea21dbe6fc063e2bdcca03ea66e9e7c31f675799/68747470733a2f2f706f7365722e707567782e6f72672f6a73646563656e612f6d61696c6368696d702f6c6963656e7365)](https://packagist.org/packages/jsdecena/mailchimp)

MailChimp API v2.0 Laravel PHP Example
--------------------------------------

[](#mailchimp-api-v20-laravel-php-example)

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

[](#installation)

- Step1: Add this to your root `composer.json`

```
	"require": {
	    "jsdecena/mailchimp": "^7.0"
	}
```

Or issue this command:

`composer require jsdecena/mailchimp`

- Step2: Add this to your `config/app.php` in `providers` array

```
	'providers' => [
	    Jsdecena\MailChimp\MailChimpServiceProvider::class,
	]
```

- Step3: Run this in your terminal

`php artisan vendor:publish --provider="Jsdecena\MailChimp\MailChimpServiceProvider"`

- Step4: Include the template anywhere in your template `@include('mailchimp::mailchimp')`
- Step5: Set the variable in your `.env` file

`MAILCHIMP_API_KEY=YourMailChimpAPIKey`

`MAILCHIMP_LIST_ID=YourMailChimpListId`

- Step6: Enjoy!

Overriding the template file?
-----------------------------

[](#overriding-the-template-file)

- Yes you can. Override the file in `/resources/views/vendor/mailchimp/mailchimp.blade.php`

What is new with 1.6?
---------------------

[](#what-is-new-with-16)

- Recently, I learned the power of doing TDD (test driven development) on applications using PHPUnit. So now, I am already throwing exception messages whenever there is an issue on the request!

What are the exception messages we are returning?
-------------------------------------------------

[](#what-are-the-exception-messages-we-are-returning)

- Email that MailChimp does not allow

```
  {
    "error": "List_RoleEmailMember: test@test.com is an invalid email address and cannot be imported."
  }
```

- Wrong API key provided

```
  {
    "error":"Invalid MailChimp API key: 1112e36f7f44ef4cc3c5a584747abb05be"
  }
```

- Wrong List ID provided

```
  {
    "error":"Invalid MailChimp List ID: accf6b0a0e111"
  }
```

And if the subscription is successful, it will return the email, euid, leid on the data object
----------------------------------------------------------------------------------------------

[](#and-if-the-subscription-is-successful-it-will-return-the-email-euid-leid-on-the-data-object)

```
  {
    "data": {
      "email":"super@mario.com",
      "euid":"b0b8fdacbd",
      "leid":"430369209"
    }
  }
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 89.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 ~79 days

Recently: every ~257 days

Total

20

Last Release

2183d ago

Major Versions

1.7.0 → 7.0.12017-09-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12779444?v=4)[Şeref Erçelik](/maintainers/serefercelik)[@serefercelik](https://github.com/serefercelik)

---

Top Contributors

[![jsdecena](https://avatars.githubusercontent.com/u/2285625?v=4)](https://github.com/jsdecena "jsdecena (26 commits)")[![serefercelik](https://avatars.githubusercontent.com/u/12779444?v=4)](https://github.com/serefercelik "serefercelik (3 commits)")

---

Tags

frameworklaravelpackageshopecommercelaravel5e-commerceshopping cartlaravel ecommercelaracom

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jsdecena/laracom

Laravel powered e-commerce

2.0k4.4k](/packages/jsdecena-laracom)[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[jsdecena/laravel-passport-multiauth

Simple laravel passport multiple user authentication

501.1k](/packages/jsdecena-laravel-passport-multiauth)

PHPackages © 2026

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