PHPackages                             orken/mandrill-transport-cakephp3 - 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. orken/mandrill-transport-cakephp3

ActiveCakephp-plugin[Mail &amp; Notifications](/categories/mail)

orken/mandrill-transport-cakephp3
=================================

MandrillTransport plugin for CakePHP 3+

0.97.0(9y ago)21.1k3MITPHPPHP &gt;=5.5.9

Since Sep 30Pushed 9y ago2 watchersCompare

[ Source](https://github.com/DaoAndCo/mandrill-transport-cakephp3)[ Packagist](https://packagist.org/packages/orken/mandrill-transport-cakephp3)[ Docs](https://github.com/Orken/mandrill-transport-cakephp3)[ RSS](/packages/orken-mandrill-transport-cakephp3/feed)WikiDiscussions master Synced 3w ago

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

MandrillTransport plugin for CakePHP 3+
=======================================

[](#mandrilltransport-plugin-for-cakephp-3)

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require orken/mandrill-transport-cakephp3

```

Setting up your CakePHP application
-----------------------------------

[](#setting-up-your-cakephp-application)

In your bootstrap.php

```
Plugin::load('MandrillTransport');

```

In your app.php file.

```
'EmailTransport' => [
  'Mandrill' => [
    'className'      => 'MandrillTransport.Mandrill',
    'api_key'        => 'YOUR_API_KEY',
    'api_key_test'   => 'YOUR_TEST_API_KEY',
    'from'           => 'no-reply@example.com',
    'merge_language' => 'handlebars', //optional, default is handlebars
    'inline_css'     => true, //optional, default is true
  ],
],
'Email' => [
    'mandrill' => [
        'transport' => 'Mandrill',
        'from' => 'you@localhost',
        //'charset' => 'utf-8',
        //'headerCharset' => 'utf-8',
    ],
],

```

Utilisation
-----------

[](#utilisation)

It can be used like normal Mail transport in cakephp.

If you want to use a template from mailchimp/mandrill, you just have to add the key '*template\_name*' with the name of the template in your *viewVars*. And optionnaly other vars which are used in the template.

```
$email = new Email('mandrill');
$email->from(['me@example.com' => 'My Site'])
    ->to('you@example.com')
    ->cc('yourcc@exmaple.com') // optional
    ->bcc('yourbcc@exmaple.com') // optional
    ->attachments('/path/to/your/file') // optional
    ->viewVars([
      'template_name' => 'your template name at mandrill',
      'other_var' => 'values', // all the vars from yout template
      ...
    ])
    ->subject('About')  // optional, if missing it takes the template subject
    ->send('My message');

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.6% 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 ~29 days

Recently: every ~50 days

Total

8

Last Release

3353d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99e95c8ecaf9095d7930e26ebc1818aeca51feadefead0ad5090c6655f154bf7?d=identicon)[Orken](/maintainers/Orken)

---

Top Contributors

[![subotm-lang](https://avatars.githubusercontent.com/u/244913096?v=4)](https://github.com/subotm-lang "subotm-lang (25 commits)")[![Orken](https://avatars.githubusercontent.com/u/2988240?v=4)](https://github.com/Orken "Orken (4 commits)")[![ozee31](https://avatars.githubusercontent.com/u/5025797?v=4)](https://github.com/ozee31 "ozee31 (2 commits)")

---

Tags

emailcakephpmandrill

### Embed Badge

![Health badge](/badges/orken-mandrill-transport-cakephp3/health.svg)

```
[![Health](https://phpackages.com/badges/orken-mandrill-transport-cakephp3/health.svg)](https://phpackages.com/packages/orken-mandrill-transport-cakephp3)
```

###  Alternatives

[narendravaghela/cakephp-mailgun

Mailgun plugin for CakePHP - Send emails using Mailgun API

23364.0k](/packages/narendravaghela-cakephp-mailgun)[slm/mail

Integration of various email service providers in the Laminas\\Mail

108741.5k1](/packages/slm-mail)[slot/mandrill-bundle

Symfony Mandrill Bundle

651.5M1](/packages/slot-mandrill-bundle)[omnimail/omnimail

PHP Library to send email across all platforms using one interface.

33034.8k](/packages/omnimail-omnimail)[lorenzo/cakephp-email-queue

Queue, preview and and send emails stored in the database

57122.3k2](/packages/lorenzo-cakephp-email-queue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29570.2k2](/packages/nickcv-yii2-mandrill)

PHPackages © 2026

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