PHPackages                             orken/cakephp3-mandrill-api - 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. [API Development](/categories/api)
4. /
5. orken/cakephp3-mandrill-api

ActiveCakephp-plugin[API Development](/categories/api)

orken/cakephp3-mandrill-api
===========================

Send mail using Mandrill Api (with MailChimp)

1.5(7y ago)014.9kMITPHPPHP &gt;=5.4.16

Since Nov 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Orken/cakephp3-mandrill-api)[ Packagist](https://packagist.org/packages/orken/cakephp3-mandrill-api)[ Docs](https://github.com/Orken/cakephp3-mandrill-api)[ RSS](/packages/orken-cakephp3-mandrill-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

CakePHP 3 Mandrill API plugin
=============================

[](#cakephp-3-mandrill-api-plugin)

Plugin Mandrill pour CakePHP 3 pour utiliser l'API. Afin de l'utiliser vous devez disposer d'un compte Mandrill pour avoir une API key.

Pour installer ce plugin, la meilleure solution est d'utiliser Composer.

Rajoutez :

```
"orken/cakephp3-mandrill-api": "*"

```

dans votre fichier `composer.json`et lancez `composer update` .

Configurer votre application CakePHP
------------------------------------

[](#configurer-votre-application-cakephp)

Dans votre fichier de configuration (`app.php` ou un spécifique), rajouter une rubrique `Mandrill`.

```
'Mandrill' => [
	'apikey'		=> '----votre cle---',
	'template_name'	=> 'nom-du-template'
]

```

Toutes les valeurs dans cette rubrique sont optionnelles et peuvent être assignées postérieurement au moment de l'instanciation de la classe.

Envoyer des emails
------------------

[](#envoyer-des-emails)

Ajouter le namespace pour MandrillApi:

```
use MandrillApi\Network\Email\MandrillApi;

```

Puis créé un email, assigner le template Mandrill/Mailchimp, donnez les destinataires ainsi que les valeurs particuliers, et envoyez.

```
$email = new Mandrill(['template_name'=>'mon-template-mailchimp']);
$email
    ->subject('Mon sujet Mandrill')
    ->from('contact@example.com',"Mon nom d'expéditeur")
    ->data([
    	'lemail1@domaine1.com'=> [
    		'displayname' => 'monsieur 1',
    		'texteperso' => "Lorem ipsum dolor sit amet."
    	],
    	'lemail2@domaine2.fr'=> [
    		'displayname' => 'madame 1',
    		'texteperso' => "Sunt saepe at, officiis quasi impedit?"
    	]
    ])
    ->send();

```

Pensez à valider le domaine qui envoie les mails dans Mandrill.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~154 days

Recently: every ~60 days

Total

7

Last Release

2909d ago

Major Versions

0.1.x-dev → 1.02016-02-17

### Community

Maintainers

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

---

Top Contributors

[![Orken](https://avatars.githubusercontent.com/u/2988240?v=4)](https://github.com/Orken "Orken (32 commits)")

---

Tags

apicakephpmandrill

### Embed Badge

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

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

###  Alternatives

[friendsofcake/crud-json-api

Listener for building CakePHP Crud APIs following the JSON API specification.

58445.4k3](/packages/friendsofcake-crud-json-api)[bcrowe/cakephp-api-pagination

CakePHP 4 plugin that injects pagination information into API responses.

3953.5k1](/packages/bcrowe-cakephp-api-pagination)[a2design-company/mandrill-cakephp-plugin

Mandrill CakePHP plugin

193.2k](/packages/a2design-company-mandrill-cakephp-plugin)[mixerapi/mixerapi

Streamline development of API-first applications in CakePHP

4441.8k](/packages/mixerapi-mixerapi)

PHPackages © 2026

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