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

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

numesia/mailjet
===============

Mailjet Notifications driver

1.4(1y ago)0736MITPHPPHP &gt;=7.2.5

Since Dec 30Pushed 1y ago3 watchersCompare

[ Source](https://github.com/NUMESIA/mailjet)[ Packagist](https://packagist.org/packages/numesia/mailjet)[ Docs](https://github.com/numesia/mailjet)[ RSS](/packages/numesia-mailjet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (9)Used By (0)

Mailjet notifications channel for Laravel
=========================================

[](#mailjet-notifications-channel-for-laravel)

This package makes it easy to send notifications using Mailjet with Laravel 5.5+, 6.x and 7.x.

Contents
--------

[](#contents)

- [Prerequisite](#prerequisite)
- [Installation](#installation)
- [Usage](#usage)
- [Testing](#testing)

Prerequisite
------------

[](#prerequisite)

Configure

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

[](#installation)

You can install the package via composer:

```
composer require numesia/mailjet
```

Add the Mailjet Provider :

```
'providers' => [
    ...
    Numesia\Mailjet\MailjetServiceProvider::class,
    ...
]

```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use Numesia\Mailjet\MailjetChannel;
use Numesia\Mailjet\MailjetMessage;
use Illuminate\Notifications\Notification;

class ProjectCreated extends Notification
{
    public function via($notifiable)
    {
        return [MailjetChannel::class]; // or 'mailjet'
    }

    public function toMailjet($notifiable)
    {
        return (new MailjetMessage)
            ->sender("sender@email.com")
            ->name("Sender Name")
            ->subject("My Subject")
            ->content("My Html Content"); // or ->view("view:location", [])
    }
}
```

In order to let your Notification know which email to use, add the `routeNotificationForMailjet` method to your Notifiable model.

This method needs to return an email.

```
public function routeNotificationForMailjet(Notification $notification)
{
    return $this->email;
}
```

Testing
-------

[](#testing)

```
$ composer test
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Every ~186 days

Recently: every ~232 days

Total

8

Last Release

658d ago

### Community

Maintainers

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

---

Top Contributors

[![zorx](https://avatars.githubusercontent.com/u/4219529?v=4)](https://github.com/zorx "zorx (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

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