PHPackages                             eoko/zf-mandrill - 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. eoko/zf-mandrill

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

eoko/zf-mandrill
================

ZF2 wrapper for the Mandrill API.

2.0.0(10y ago)5300BSD-3-ClausePHPPHP &gt;=5.5

Since Jun 28Pushed 10y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (13)Versions (3)Used By (0)

zf-mandrill
===========

[](#zf-mandrill)

[![Build Status](https://camo.githubusercontent.com/68c7b6c9e20be809a9b03895b166ec762381bbd47d787d84db516d1521c6c1bb/68747470733a2f2f7472617669732d63692e6f72672f656f6b6f2f7a662d6d616e6472696c6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eoko/zf-mandrill)[![Coverage Status](https://camo.githubusercontent.com/0426ab3baca95c8ef3811f6b029e86635006b91cc0e5c7bcf29799ed94a09417/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f656f6b6f2f7a662d6d616e6472696c6c2f62616467652e737667)](https://coveralls.io/r/eoko/zf-mandrill)[![Coverage Status](https://camo.githubusercontent.com/0426ab3baca95c8ef3811f6b029e86635006b91cc0e5c7bcf29799ed94a09417/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f656f6b6f2f7a662d6d616e6472696c6c2f62616467652e737667)](https://coveralls.io/r/eoko/zf-mandrill)[![Eoko Public Channel](https://camo.githubusercontent.com/856a07301792e5e14f19493396bbbc52a58d943b0f9026c0fb69e7a57c5c37aa/687474703a2f2f736c61636b696e2e656f6b6f2e66722f62616467652e737667)](http://slackin.eoko.fr/)

Introduction
------------

[](#introduction)

zf-mandrill is a simple wrapper for the Mandrill API. It permit to use the Mandrill API using a pre-configure client in a Zend Framework context.

With this module, you can :

- pre-configure Mandrill client
- check your configuration using zend-diagnostic
- send email from CLI (for testing purpose)
- send email directly from controller
- use email service to send email

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

[](#installation)

zf-mandrill works with [Composer](http://getcomposer.org). Make sure you have the composer.phar downloaded and you have a `composer.json` file at the root of your project. To install it, you can do it from CLI `composer require eoko/zf-mandrill` or add the following line into your `composer.json` file:

```
"require": {
    "eoko/zf-mandrill": "dev-master"
}
```

Configuration
-------------

[](#configuration)

Copy/Paste in your local configuration `config/mandrill.local.php.dist` and rename it to `mandrill.local.php`. There are all the informations required for zf-mandrill configuration.

Service Available
-----------------

[](#service-available)

The following services are pre-configured in the service locator :

- Mandrill client : `eoko.mandrill.client`
- Email service : `Eoko\Mandrill\Service\Email`

Command
-------

[](#command)

- Check your configuration : `php public/index.php diag`
- Send an email : `php public/index.php mandrill send email jane@doe.com subject htmlContent_or_filename`

Controller plugin
-----------------

[](#controller-plugin)

Inside a controller, we can use the email plugin : `$this->email()->setSubject('hello')->setTo('jane@doe.com')->send()`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

3

Last Release

3936d ago

Major Versions

1.0.1 → 2.0.02015-09-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/5574f099c9ba539d4018f5735650cc47b3312ea31a0d5b15c0d7e072efe7bdc9?d=identicon)[iam\_merlin](/maintainers/iam_merlin)

---

Tags

zf2eokomandrill

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eoko-zf-mandrill/health.svg)

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

###  Alternatives

[slot/mandrill-bundle

Symfony Mandrill Bundle

651.5M1](/packages/slot-mandrill-bundle)[mtymek/mt-mail

Zend Framework e-mail module. Using this library can easily create e-mail messages from PHTML templates (with optional layouts) and send them using configurable transports. Pluggable, EventManager-driven architecture allows you to customize every aspect of the process.

2039.6k3](/packages/mtymek-mt-mail)[spoonx/sxmail

A simple mail module for Zend Framework 2.

1173.2k](/packages/spoonx-sxmail)[sairiz/mandrill

Mandrill Official API Wrapper for Laravel 4

1246.4k](/packages/sairiz-mandrill)[rwoverdijk/sxmail

A simple mail module for Zend Framework 2.

111.5k](/packages/rwoverdijk-sxmail)

PHPackages © 2026

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