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)0772MITPHPPHP &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 today

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

Maintenance32

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[laravel-notification-channels/expo

Expo Notifications Channel for Laravel

67628.6k1](/packages/laravel-notification-channels-expo)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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