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 2w ago

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Unknown

Total

1

Last Release

2629d 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

[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308914.0k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M40](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)

PHPackages © 2026

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