PHPackages                             everlutionsk/mandrill-bundle - 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. everlutionsk/mandrill-bundle

ActiveEverlution-bundle[Mail &amp; Notifications](/categories/mail)

everlutionsk/mandrill-bundle
============================

Everlution mandrill bundle for Symfony framework

v1.3.0(7y ago)03.6k2MITPHPPHP &gt;=5.4.0

Since Sep 21Pushed 7y ago8 watchersCompare

[ Source](https://github.com/everlutionsk/mandrill-bundle)[ Packagist](https://packagist.org/packages/everlutionsk/mandrill-bundle)[ RSS](/packages/everlutionsk-mandrill-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (5)Versions (10)Used By (0)

Mandrill Bundle
===============

[](#mandrill-bundle)

This Symfony bundle provides *mail system* and *request processors* for [Email Bundle](https://github.com/everlutionsk/EmailBundle2). Bundle use [Mandrill](https://www.mandrill.com) transactional email platform.

Installation
============

[](#installation)

```
composer require everlutionsk/mandrill-bundle
```

### Enable the bundle

[](#enable-the-bundle)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Everlution\MandrillBundle\EverlutionMandrillBundle()
    );
}
```

### Configure the bundle

[](#configure-the-bundle)

Following configuration snippet describes how to configure the bundle.

Firstly, you must modify EmailBundle configuration to work with MandrillBundle's services.

```
# app/config/config.yml

# EmailBundle Configuration
everlution_email:
    mail_system: everlution.mandrill.mail_system
    request_processors:
        inbound: everlution.mandrill.inbound.request_processor
        outbound_message_event: everlution.mandrill.outbound.message_event.request_processor
```

Secondly, you must configure MandrillBundle itself

```
# app/config/config.yml

# MandrillBundle Configuration
everlution_mandrill:
    api_key: SECRET_API_KEY
    async_mandrill_sending: true
    enforced_delivery_address: EMAIL_ADDRESS|NULL
```

**async\_mandrill\_sending** - If it is true, then Mandrill use a background sending mode that is optimized for bulk sending. In async mode, Mandrill will immediately return a status of "queued" for every message. This is a recommended setting, because bundle is able to handle message events, which describe message state, later and fully automatically.

**enforced\_delivery\_address** - \[Optional\] Email address, which will be used to override recipient address in every outbound message. Changes are fully transparent and data stored in database is not affected by this transformation. *Warning: Mail system ID could be associated with wrong recipient due to Mandrill API limitations. This limitation could lead to incorrect 'outbound message event' handling.*

Usage
=====

[](#usage)

### Message transformers

[](#message-transformers)

*Mail system* service provided by this bundle transform [OutboundMessage](https://github.com/everlutionsk/EmailBundle2/blob/master/Outbound/Message/OutboundMessage.php) into JSON and then POST this JSON to [Mandrill API](https://mandrillapp.com/api/docs/messages.JSON.html). However, this JSON can be modified just before it is posted to Mandrill. To do this you must create a service, which implements [RawMessageTransformer interface](Outbound/MailSystem/RawMessageTransformer.php) and add following tag:

```
everlution.mandrill.outbound.raw_message_transformer
```

TODO
====

[](#todo)

---

- Request signature calculation
- Webhook keys configuration

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.8% 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 ~150 days

Recently: every ~271 days

Total

9

Last Release

2634d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.0.1PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c125639a9c5c2bfd86376c10a243fabd78acd9f50826cd6066aac48c194d8b2?d=identicon)[everlution](/maintainers/everlution)

![](https://www.gravatar.com/avatar/b76b6c9b1d27a166b1cc0dae2b5626f94ce192bc3629015f0a3b494d7a57b064?d=identicon)[martinlutter](/maintainers/martinlutter)

---

Top Contributors

[![deftomat](https://avatars.githubusercontent.com/u/5549148?v=4)](https://github.com/deftomat "deftomat (17 commits)")[![ttibensky](https://avatars.githubusercontent.com/u/5850762?v=4)](https://github.com/ttibensky "ttibensky (6 commits)")[![klinec](https://avatars.githubusercontent.com/u/5071231?v=4)](https://github.com/klinec "klinec (4 commits)")[![ivanbarlog](https://avatars.githubusercontent.com/u/2583610?v=4)](https://github.com/ivanbarlog "ivanbarlog (3 commits)")[![martinlutter](https://avatars.githubusercontent.com/u/19926144?v=4)](https://github.com/martinlutter "martinlutter (1 commits)")

---

Tags

symfonybundleemailmandrilleverlution

### Embed Badge

![Health badge](/badges/everlutionsk-mandrill-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/everlutionsk-mandrill-bundle/health.svg)](https://phpackages.com/packages/everlutionsk-mandrill-bundle)
```

###  Alternatives

[sylius/mailer-bundle

Mailers and e-mail template management for Symfony projects.

727.9M72](/packages/sylius-mailer-bundle)[slot/mandrill-bundle

Symfony Mandrill Bundle

671.5M1](/packages/slot-mandrill-bundle)[robertotru/to-inline-style-email-bundle

A Symfony2 bundle for using the CssToInlineStyles translator by tijsverkoyen

59383.9k](/packages/robertotru-to-inline-style-email-bundle)[gushphp/to-inline-style-email-bundle

A Symfony2 bundle for using the CssToInlineStyles translator by tijsverkoyen

59310.8k](/packages/gushphp-to-inline-style-email-bundle)[stampie/stampie-bundle

This bundle provides integration for Stampie Email Library

25222.1k](/packages/stampie-stampie-bundle)[scullwm/mailhookbundle

A bundle to catch API webhook from differents mail service

4020.5k](/packages/scullwm-mailhookbundle)

PHPackages © 2026

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