PHPackages                             fraterblack/mailchimpv3-laravel - 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. fraterblack/mailchimpv3-laravel

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

fraterblack/mailchimpv3-laravel
===============================

A minimal service provider to set up and use the Mailchimp Api v3 PHP library in Laravel 5.\*

1.0(9y ago)2133MITPHP

Since Oct 6Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

fraterblack/mailchimpv3-laravel
===============================

[](#fraterblackmailchimpv3-laravel)

A minimal service provider to set up and use the Mailchimp APi v3 PHP library in Laravel v5.\*

This service provider use Mailchimp API . A super-simple, minimum abstraction Mailchimp API v3 wrapper, in PHP.

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

[](#installation)

You can install using Composer:

```
composer require fraterblack/mailchimpv3-laravel

```

Register the service provider in `config/app.php` by inserting into the `providers` array

```
'providers' => [
	Fraterblack\Mailchimp\MailchimpServiceProvider::class,
]
```

To publish the default configuration file, execute the following command:

```
php artisan vendor:publish --provider="Fraterblack\Mailchimp\MailchimpServiceProvider"

```

Edit your .env file

```
MAILCHIMP_API_KEY="your-api-key-here"

```

for more info check ""

How it works
------------

[](#how-it-works)

This package contains a service provider, which binds an instance of an initialized Mailchimp API client to the IoC-container.

You recieve the Mailchimp API client through depencency injection already set up with your own API key.

**Usage example**

```
class NewsletterManager
{
	protected $mailChimp;
	protected $listId = '1234567890';        // Id of newsletter list

	/**
	 * Pull the Mailchimp API instance from the IoC-container.
	 */
	public function __construct(\DrewM\MailChimp\MailChimp $mailChimp)
	{
		$this->mailChimp = $mailChimp;
	}

	/**
	 * Add a subscriber in a list
     * for more info check "http://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/"
	 */
	public function addEmailToList($email)
	{
		try {
			$result = $this->mailChimp->post("lists/" . $this->listId . "/members", [
                'email_address' => $email,
                'status'        => 'subscribed',
            ]);
        } catch (\Exception $e) {
        	// do something
        }
	}

	/**
	 * Get lists
     * for more info check "http://developer.mailchimp.com/documentation/mailchimp/reference/lists/"
	 */
	public function getLists()
	{
		try {
			$result = $this->mailChimp->get("lists");
        } catch (\Exception $e) {
        	// do something
        }
	}
}
```

For more examples of usage:

MailChimp API -

Mailchimp V3 Documentation -

This package is based on:

Based on

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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

3551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1762500bb83daf0953857442e2830df0c93bdd8a590cfd2dd16bc039a45caf24?d=identicon)[fraterblack](/maintainers/fraterblack)

---

Top Contributors

[![fraterblack](https://avatars.githubusercontent.com/u/4051452?v=4)](https://github.com/fraterblack "fraterblack (2 commits)")

### Embed Badge

![Health badge](/badges/fraterblack-mailchimpv3-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/fraterblack-mailchimpv3-laravel/health.svg)](https://phpackages.com/packages/fraterblack-mailchimpv3-laravel)
```

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.7M4](/packages/spatie-laravel-failed-job-monitor)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[statamic-rad-pack/mailchimp

Subscribe registrations or contact forms to Mailchimp

1821.0k](/packages/statamic-rad-pack-mailchimp)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)

PHPackages © 2026

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