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 1mo 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 54% 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

3080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40ea19c312cecdbaa94b6961d083acc981cda402871f0b53b5baa493c0c7e775?d=identicon)[mabasic](/maintainers/mabasic)

---

Top Contributors

[![mabasic](https://avatars.githubusercontent.com/u/1839930?v=4)](https://github.com/mabasic "mabasic (2 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

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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