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(1mo ago)773.5M↓13.8%41MITPHPPHP ^8.2CI passing

Since Sep 3Pushed 1mo 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 1mo 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

67

—

FairBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity58

Moderate usage in the ecosystem

Community25

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

59d 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://www.gravatar.com/avatar/deaa94d07a8cca75da55dcce1ed56e59d90dae65f06d2f74403a76394e24952f?d=identicon)[therobfonz](/maintainers/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

[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/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)[intonate/laravel-mandrill-driver

Laravel Mandrill API based mail driver.

171.1M](/packages/intonate-laravel-mandrill-driver)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[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)

PHPackages © 2026

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