PHPackages                             czepter/cake-mailjet - 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. czepter/cake-mailjet

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

czepter/cake-mailjet
====================

Mailjet plugin for CakePHP. Allows sending emails via Mailjet by using the provided Mailjet SDK.

v1.0.0(7y ago)0291[1 PRs](https://github.com/czepter/cake-mailjet/pulls)MITPHP

Since Apr 18Pushed 2y agoCompare

[ Source](https://github.com/czepter/cake-mailjet)[ Packagist](https://packagist.org/packages/czepter/cake-mailjet)[ Docs](https://github.com/czepter/cake-mailjet)[ RSS](/packages/czepter-cake-mailjet/feed)WikiDiscussions master Synced today

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

Mailjet plugin for CakePHP
==========================

[](#mailjet-plugin-for-cakephp)

Allows sending emails via Mailjet by using the provided Mailjet SDK.

Requirements
------------

[](#requirements)

PHP &gt;= 7.0 CakePHP &gt;= 3.7 Composer

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

[](#installation)

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

The recommended way to install composer packages is:

```
composer require czepter/cake-mailjet

```

load this plugin into your src/AppController.php with:

```
bin/cake plugin load Mailjet

```

or modify the file by your own inside of bootstrap():

```
$this->addPlugin('Mailjet');
```

Example configuration
---------------------

[](#example-configuration)

example content of your config/app.php:

```
'EmailTransport' => [
	'default' => [
		...
	],
	'mailjet' => [
		'className' => 'Mailjet.Mailjet',
		'apiKey' => 'your-api-key',
		'apiSecret' => 'your-api-secret'
	]
],

'Email' => [
	'default' => [
		'transport' => 'mailjet',

		'from' => 'no-reply@example.org',
		'charset' => 'utf-8',
		'headerCharset' => 'utf-8',
		],
	]
];
```

Email setup
-----------

[](#email-setup)

to write a mail using the templates use the following configuration in your Mailer class:

```
$email
   ->emailFormat('html')
   ->subject('some text')
   ->to('hi@example.org')
   ->from('app@example.org')
   ->addHeaders([
	   'TemplateID' => 123456,
   ])
   ->setViewVars([
	   "greetings" => "a text wich replaces the var:greetings in your template",
	   ...
   ])
   ->send();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2581d ago

### Community

Maintainers

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

---

Top Contributors

[![czepter](https://avatars.githubusercontent.com/u/34108004?v=4)](https://github.com/czepter "czepter (2 commits)")

---

Tags

cakephpcakephp-plugincakephp3mailer-classmailjetmailjet-sdkcakephpmailerMailjetmailertransport

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/czepter-cake-mailjet/health.svg)

```
[![Health](https://phpackages.com/badges/czepter-cake-mailjet/health.svg)](https://phpackages.com/packages/czepter-cake-mailjet)
```

###  Alternatives

[mailjet/mailjet-swiftmailer

A SwiftMailer transport implementation for Mailjet

261.2M9](/packages/mailjet-mailjet-swiftmailer)[lorenzo/cakephp-email-queue

Queue, preview and and send emails stored in the database

57121.5k1](/packages/lorenzo-cakephp-email-queue)[narendravaghela/cakephp-mailgun

Mailgun plugin for CakePHP - Send emails using Mailgun API

23356.6k](/packages/narendravaghela-cakephp-mailgun)[iandenh/cakephp-sendgrid

SendgridEmail plugin for CakePHP

16123.4k](/packages/iandenh-cakephp-sendgrid)[gourmet/email

Gourmet Email Plugin for rapid CakePHP application development.

175.2k](/packages/gourmet-email)

PHPackages © 2026

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