PHPackages                             skovmand/mailchimp-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. skovmand/mailchimp-laravel

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

skovmand/mailchimp-laravel
==========================

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

1.0.10(7y ago)123513.9k↓25%27[1 PRs](https://github.com/skovmand/mailchimp-laravel/pulls)MITPHP

Since Feb 17Pushed 7y ago6 watchersCompare

[ Source](https://github.com/skovmand/mailchimp-laravel)[ Packagist](https://packagist.org/packages/skovmand/mailchimp-laravel)[ RSS](/packages/skovmand-mailchimp-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (12)Used By (0)

This package is abandoned.
==========================

[](#this-package-is-abandoned)

The Mailchimp API v2.0 was deprecated from jan 1st 2017. This package uses the v2 API, because it relies on the [Mailchimp PHP API Client](https://bitbucket.org/mailchimp/mailchimp-api-php.git), which uses the v2 API.

This package will not recieve updates for future Laravel versions.

Please use an api v3-compatible package instead, several are available on [Packagist](https://packagist.org/)

skovmand/mailchimp-laravel
==========================

[](#skovmandmailchimp-laravel)

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

For Laravel v4 check

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

[](#how-it-works)

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

You recieve the Mailchimp 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-instance from the IoC-container.
     */
    public function __construct(\Mailchimp $mailchimp)
    {
        $this->mailchimp = $mailchimp;
    }

    /**
     * Access the mailchimp lists API
     */
    public function addEmailToList($email)
    {
        try {
            $this->mailchimp
              ->lists
              ->subscribe(
                $this->listId,
                ['email' => $email]
              );
        } catch (\Mailchimp_List_AlreadySubscribed $e) {
            // do something
        } catch (\Mailchimp_Error $e) {
            // do something
        }
    }
}
```

Or you can manually instantiate the Mailchimp client by using:

`$mailchimp = app('Mailchimp');`

Setup
-----

[](#setup)

**Step 1: Adding the dependency to composer.json**

Add this to your composer.json in your Laravel folder. Note: Adding this dependency will automatically setup "mailchimp/mailchimp": "~2.0" too.

```
"require": {
    "skovmand/mailchimp-laravel": "1.*",
}
```

**Step 2: Register the service provider**

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

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

**Step 3: From the command-line run**

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

```

This will publish `config/mailchimp.php` to your config folder.

**Step 4: Edit your .env file**

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

**Good to go!**

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~132 days

Recently: every ~191 days

Total

11

Last Release

2782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52e9d2e3938a6d74811294bb38d0f946613e0f6e31934a4456282454a652a30a?d=identicon)[skovmand](/maintainers/skovmand)

---

Top Contributors

[![skovmand](https://avatars.githubusercontent.com/u/1387518?v=4)](https://github.com/skovmand "skovmand (8 commits)")[![MichMich](https://avatars.githubusercontent.com/u/210954?v=4)](https://github.com/MichMich "MichMich (1 commits)")[![mintbridge](https://avatars.githubusercontent.com/u/32777?v=4)](https://github.com/mintbridge "mintbridge (1 commits)")[![josiasmontag](https://avatars.githubusercontent.com/u/1945577?v=4)](https://github.com/josiasmontag "josiasmontag (1 commits)")[![sadhakbj](https://avatars.githubusercontent.com/u/5828622?v=4)](https://github.com/sadhakbj "sadhakbj (1 commits)")[![simplenotezy](https://avatars.githubusercontent.com/u/3786627?v=4)](https://github.com/simplenotezy "simplenotezy (1 commits)")[![obayesshelton](https://avatars.githubusercontent.com/u/628720?v=4)](https://github.com/obayesshelton "obayesshelton (1 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1316.3k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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