PHPackages                             therobfonz/laravel-mandrill-driver - 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. therobfonz/laravel-mandrill-driver

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

therobfonz/laravel-mandrill-driver
==================================

Mandrill Driver for Laravel

6.2.0(3mo ago)783.7M↓47.7%40MITPHPPHP ^8.2CI failing

Since Sep 3Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/luisdalmolin/laravel-mandrill-driver)[ Packagist](https://packagist.org/packages/therobfonz/laravel-mandrill-driver)[ RSS](/packages/therobfonz-laravel-mandrill-driver/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (12)Versions (26)Used By (0)

Laravel Mandrill Driver
=======================

[](#laravel-mandrill-driver)

This package re-enables Mandrill driver functionality using the Mail facade in Laravel 6+.

To install the package in your project, you need to require the package via Composer:

```
composer require therobfonz/laravel-mandrill-driver
```

To add your Mandrill secret key, add the following lines to `config\services.php` and set `MANDRILL_KEY` in your env:

```
'mandrill' => [
    'secret' => env('MANDRILL_KEY'),
],
```

You can also add custom Mandrill headers to each email sent, for this you need to add the headers array in the following format to `config\services.php`:

```
'mandrill' => [
    'secret' => env('MANDRILL_KEY'),
    'headers' => [
        'header-example-x' => env('MANDRILL_HEADER_X'),
        'header-example-y' => env('MANDRILL_HEADER_Y'),
    ]
],
```

all the valid options in Mandrill docs at:

#### Accessing Mandrill message ID

[](#accessing-mandrill-message-id)

Mandrill message ID's for sent emails can be accessed by listening to the `MessageSent` event. It can then be read either from the sent data or the X-Message-ID header.

```
Event::listen(\Illuminate\Mail\Events\MessageSent::class, function($event)
{
    $messageId = $event->sent->getMessageId();
    $messageId = $event->message->getHeaders()->get('X-Message-ID');
}

```

Versions
--------

[](#versions)

Laravel VersionMandrill package version1112105.x94.x6, 7, 83.xAdd the Mandrill mailer to your `config\mail.php`:

```
'mandrill' => [
    'transport' => 'mandrill',
],
```

Set the `MAIL_MAILER` value in your env to `mandrill` to enable it:

```
MAIL_MAILER=mandrill
```

Laravel 6 Installation
----------------------

[](#laravel-6-installation)

As before, you can set the `MAIL_DRIVER` value in your env to `mandrill` to enable it:

```
MAIL_DRIVER=mandrill
```

Lumen Installation
------------------

[](#lumen-installation)

Add the following line to `bootstrap/app.php`

```
$app->register(LaravelMandrill\MandrillServiceProvider::class);
```

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity58

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~104 days

Recently: every ~180 days

Total

24

Last Release

105d ago

Major Versions

v2.0.2 → v3.0.02020-09-08

v2.0.4 → v3.0.22020-10-01

v3.1.0 → 4.0.02022-04-14

2.x-dev → 5.0.02023-01-31

5.1.0 → 6.0.02024-04-02

PHP version history (7 changes)v1.0.0PHP ^7.2

v3.0.0PHP ^7.3

v3.0.4PHP ^7.3|^8.0

4.0.0PHP ^8.0

2.x-devPHP ^7.2|^8.0

5.0.0PHP ^8.1

6.1.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35386780?v=4)[Rob Fonseca](/maintainers/therobfonz)[@therobfonz](https://github.com/therobfonz)

---

Top Contributors

[![luisdalmolin](https://avatars.githubusercontent.com/u/403446?v=4)](https://github.com/luisdalmolin "luisdalmolin (15 commits)")[![therobfonz](https://avatars.githubusercontent.com/u/35386780?v=4)](https://github.com/therobfonz "therobfonz (13 commits)")[![thybag](https://avatars.githubusercontent.com/u/887397?v=4)](https://github.com/thybag "thybag (7 commits)")[![bruno-farias](https://avatars.githubusercontent.com/u/5460340?v=4)](https://github.com/bruno-farias "bruno-farias (4 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (3 commits)")[![wblommaert](https://avatars.githubusercontent.com/u/5678605?v=4)](https://github.com/wblommaert "wblommaert (3 commits)")[![vjanssens](https://avatars.githubusercontent.com/u/2340997?v=4)](https://github.com/vjanssens "vjanssens (2 commits)")[![radykal-com](https://avatars.githubusercontent.com/u/2077281?v=4)](https://github.com/radykal-com "radykal-com (1 commits)")[![tylersatre](https://avatars.githubusercontent.com/u/917429?v=4)](https://github.com/tylersatre "tylersatre (1 commits)")[![u12206050](https://avatars.githubusercontent.com/u/6641242?v=4)](https://github.com/u12206050 "u12206050 (1 commits)")[![neoteknic](https://avatars.githubusercontent.com/u/1809652?v=4)](https://github.com/neoteknic "neoteknic (1 commits)")[![callumfrance](https://avatars.githubusercontent.com/u/13757101?v=4)](https://github.com/callumfrance "callumfrance (1 commits)")[![juukie](https://avatars.githubusercontent.com/u/2678657?v=4)](https://github.com/juukie "juukie (1 commits)")[![kortsmit](https://avatars.githubusercontent.com/u/1032738?v=4)](https://github.com/kortsmit "kortsmit (1 commits)")[![matthewnessworthy](https://avatars.githubusercontent.com/u/5653887?v=4)](https://github.com/matthewnessworthy "matthewnessworthy (1 commits)")[![brandonferens](https://avatars.githubusercontent.com/u/1819546?v=4)](https://github.com/brandonferens "brandonferens (1 commits)")[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (1 commits)")

---

Tags

laravelmandrill

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/therobfonz-laravel-mandrill-driver/health.svg)

```
[![Health](https://phpackages.com/badges/therobfonz-laravel-mandrill-driver/health.svg)](https://phpackages.com/packages/therobfonz-laravel-mandrill-driver)
```

###  Alternatives

[illuminate/mail

The Illuminate Mail package.

5910.6M501](/packages/illuminate-mail)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[salamwaddah/laravel-mandrill-driver

Mandrill notification channel for Laravel 9, 10, 11, 12, 13

1177.4k](/packages/salamwaddah-laravel-mandrill-driver)

PHPackages © 2026

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