PHPackages                             lab404/laravel-mailjet-sms - 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. lab404/laravel-mailjet-sms

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

lab404/laravel-mailjet-sms
==========================

Send SMS and SMS Notification via Mailjet for Laravel

2.2.0(3y ago)52.5k2MITPHPPHP ^8.0

Since Dec 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/404labfr/laravel-mailjet-sms)[ Packagist](https://packagist.org/packages/lab404/laravel-mailjet-sms)[ RSS](/packages/lab404-laravel-mailjet-sms/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Mailjet SMS
===================

[](#laravel-mailjet-sms)

Ce plugin vous permet d'envoyer des SMS et des notifications SMS via [Mailjet](https://www.mailjet.com/sms/) depuis votre application Laravel. Attention, Mailjet autorise uniquement les SMS transactionnels.

Sommaire
--------

[](#sommaire)

- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Notifications](#notifications)
- [Support](#support)
- [Auteur](#auteur)
- [Licence](#licence)

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

[](#requirements)

- PHP &gt;= 7.2
- Laravel 6.x or 7.x
- Un compte Mailjet avec un token SMS

### Laravel support

[](#laravel-support)

VersionRelease8, 9, 102.26, 72.162.05.x1.0Installation
------------

[](#installation)

- Installation via composer :

```
composer require lab404/laravel-mailjet-sms
```

- (Facultatif) Publiez le fichier de config **mailjetsms** :

```
php artisan vendor:publish --provider="Lab404\LaravelMailjetSms\ServiceProvider"
```

- Configurez le plugin dans votre `.env` (ou le fichier de config)

```
MAILJETSMS_TOKEN="Votre token Mailjet"
MAILJETSMS_FROM="APPNAME"

```

Usage
-----

[](#usage)

Envoyer un SMS :

```
// Globalement
app('mailjetsms')->send("Elle est où la poulette ?", "+33610203040");

// DI
public function myMethod(\Lab404\LaravelMailjetSms\MailjetSms $mailjet) {
    $mailjet->send("C'est pas faux", "+33610203040");
}
```

Notifications
-------------

[](#notifications)

Ce plugin est compatible avec les [notifications Laravel](https://laravel.com/docs/9.x/notifications).

```
namespace App\Notifications;

use Lab404\LaravelMailjetSms\MailjetSmsChannel;
use Lab404\LaravelMailjetSms\MailjetSmsMessage;
use Illuminate\Notifications\Notification;

class ExampleNotification extends Notification
{
    public function via($notifiable)
    {
        return [MailjetSmsChannel::class];
    }

    public function toMailjetSms($notifiable)
    {
    	return new MailjetSmsMessage(
    	    "C'est ça que vous appelez une fondue ?",
    	    $notifiable->phonenumber
        );
    }
}
```

### API

[](#api)

**Lab404\\LaravelMailjetSms\\MailjetSmsMessage**

```
    // Constructeur
    (new MailjetSmsMessage(string $message, string $to))

    // Spécifier le destinataire
        ->to(string $to)

    // Spécifier l'expéditeur
        ->from(string $from)

    // Nettoyer les caractères unicodes
        ->unicode(bool $unicode = true)

```

### Un mot sur l'unicode

[](#un-mot-sur-lunicode)

Par défaut les caractères unicodes sont envoyés dans le SMS. La méthode `unicode(bool $unicode = true)`, permet d'activer ou non l'unicode. Une fois désactivé, l'unicode sera nettoyé pour ne laisser place qu'aux [caractères GSM 03.38](https://www.etsi.org/deliver/etsi_gts/03/0338/05.00.00_60/gsmts_0338v050000p.pdf).

Support
-------

[](#support)

N'hésitez pas à utiliser le gestion d'issus pour vos retours.

Auteur
------

[](#auteur)

[Marceau Casals](https://marceau.casals.fr)

Licence
-------

[](#licence)

MIT

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~303 days

Recently: every ~379 days

Total

6

Last Release

1187d ago

Major Versions

1.0.2 → 2.0.02019-09-05

PHP version history (3 changes)1.0.0PHP &gt;=7.0

2.0.0PHP ^7.2

2.2.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1665333?v=4)[Marceau Casals](/maintainers/MarceauKa)[@MarceauKa](https://github.com/MarceauKa)

---

Top Contributors

[![MarceauKa](https://avatars.githubusercontent.com/u/1665333?v=4)](https://github.com/MarceauKa "MarceauKa (7 commits)")[![Melcus](https://avatars.githubusercontent.com/u/6652134?v=4)](https://github.com/Melcus "Melcus (1 commits)")

---

Tags

laravellaravel-packagemailjetnotificationsmsapilaravelnotificationsmslaravel5Mailjetchannel

### Embed Badge

![Health badge](/badges/lab404-laravel-mailjet-sms/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[liliom/laravel-firebase

Laravel FCM (Firebase Cloud Messaging) Notification Channel

2426.1k](/packages/liliom-laravel-firebase)

PHPackages © 2026

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