PHPackages                             mabasic/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mabasic/mailchimp

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

mabasic/mailchimp
=================

It subscribes an email address to your mailchimp list.

1.0.0(8y ago)0371MITPHP

Since Dec 3Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Mailchimp
=========

[](#mailchimp)

It subscribes an email address to your mailchimp list.

[![Become a Patron](https://camo.githubusercontent.com/16fde1abb7601eba23de38f592bc54e3a7d10da24ac58db594d7fab32d449d46/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4265636f6d65253230612d506174726f6e2d6639363835342e7376673f7374796c653d666f722d7468652d6261646765)](https://www.patreon.com/laravelista)

Overview
--------

[](#overview)

This package can be used as a stand-alone package with any PHP framework or as a Laravel package.

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

[](#installation)

```
composer require mabasic/mailchimp

```

Usage
-----

[](#usage)

### Laravel

[](#laravel)

First, add this to your `config/services.php` file:

```
'mailchimp' => [
    'key' => env('MAILCHIMP_KEY'),
    'dc' => env('MAILCHIMP_DATA_CENTER', 'us1')
]
```

> **Hint!** You can even add your `list_id` above if you only use one list in your application.

Then, add the correct values in your `.env` file:

```
MAILCHIMP_KEY=
MAILCHIMP_DATA_CENTER=

```

Finally, do this to subscribe an address:

```
use Mabasic\Mailchimp\Facade as Mailchimp;

Mailchimp::subscribeAnAddress($list_id, $email);
```

### General PHP

[](#general-php)

```
$mailchimp = new \Mabasic\Mailchimp\Mailchimp($key, $dc);

$mailchimp->subscribeAnAddress($list_id, $email);
```

Tips
----

[](#tips)

Read the source code for `src/Mailchimp.php` to better understand what `$dc` does and how to subscribe an address without a confirmation email. It is very educational.

Laravelista Sponsors &amp; Backers
----------------------------------

[](#laravelista-sponsors--backers)

I would like to extend my thanks to the following sponsors &amp; backers for funding my open-source journey. If you are interested in becoming a sponsor or backer, please visit the Laravelista [Backers page](https://laravelista.hr/backers).

Contributing
------------

[](#contributing)

Thank you for considering contributing to mabasic/mailchimp! The contribution guide can be found on the [Laravelista website](https://laravelista.hr/contributing).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravelista community is welcoming to all, please review and abide by the [Code of Conduct](https://laravelista.hr/code-of-conduct).

License
-------

[](#license)

mabasic/mailchimp is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3125d ago

### Community

Maintainers

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

---

Top Contributors

[![mabasic](https://avatars.githubusercontent.com/u/1839930?v=4)](https://github.com/mabasic "mabasic (3 commits)")

---

Tags

laravelmailchimpphp

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

252143.0k](/packages/erag-laravel-disposable-email)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

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

PHPackages © 2026

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