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

ActiveLibrary

erwane/whep-mailjet
===================

Mailjet (Sinch) webhooks handler

2.2.0(9mo ago)014MITPHPPHP ^8.1CI passing

Since Aug 3Pushed 9mo agoCompare

[ Source](https://github.com/Erwane/whep-mailjet)[ Packagist](https://packagist.org/packages/erwane/whep-mailjet)[ Docs](https://github.com/Erwane/whep-mailjet)[ RSS](/packages/erwane-whep-mailjet/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (5)Versions (13)Used By (0)

[Mailjet](https://www.mailjet.com/) (Sinch) webhook handler for [WHEP](https://github.com/Erwane/whep-mailjet) project
======================================================================================================================

[](#mailjet-sinch-webhook-handler-for-whep-project)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![codecov](https://camo.githubusercontent.com/e9ed375b00c4766bfe0a61db57ed6bb7b60775cb65d6093d1765fc6a650e52a4/68747470733a2f2f636f6465636f762e696f2f67682f457277616e652f776865702d6d61696c6a65742f67726170682f62616467652e7376673f746f6b656e3d354d5545435641494b44)](https://codecov.io/gh/Erwane/whep-mailjet)[![CI](https://github.com/Erwane/whep-mailjet/actions/workflows/ci.yml/badge.svg)](https://github.com/Erwane/whep-mailjet/actions)[![Packagist Downloads](https://camo.githubusercontent.com/993a32d9665ec7eaf35c7f5a021da4eab7ede312b8d9bd257ae81e0a38823d23/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f457277616e652f776865702d6d61696c6a6574)](https://packagist.org/packages/Erwane/whep-mailjet)[![Packagist Version](https://camo.githubusercontent.com/b312d80faf39299ef3b7f2eecd58e5af77768dae1276452252735f64ed751218/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f457277616e652f776865702d6d61696c6a6574)](https://packagist.org/packages/Erwane/whep-mailjet)

Webhook handler for [Mailjet](https://www.mailjet.com/) (Sinch) emailing provider.

Usage
-----

[](#usage)

```
composer require erwane/whep-mailjet
```

```
use WHEP\Exception\SecurityException;
use WHEP\Exception\WHEPException;
use WHEP\Factory;

try {
    $provider = Factory::provider('mailjet', [
        'client_ip' => $_SERVER['REMOTE_ADDR'] ?? null, // Use method from your framework to get the ServerRequest client ip.
        'callbacks' => [
            ProviderInterface::EVENT_BLOCKED => [$this, 'callbackInvalidate'],
            ProviderInterface::EVENT_BOUNCE_QUOTA => [$this, 'callbackUnsub'],
        ],
    ]);

    // process the data.
    $provider->process($webhookData);

    // Data available from provider getters.
    $recipient = $provider->getRecipient();

    // Launch callbacks
    $provider->callback();
} catch (SecurityException $e) {
    // log ?
} catch (WHEPException $e) {
    // log ?
}
```

See [WHEP Client README](https://github.com/Erwane/whep-client) for options, events and getters.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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 ~1 days

Total

13

Last Release

272d ago

Major Versions

1.1.0 → 2.0.02025-08-11

1.2.0 → 2.0.22025-08-12

1.x-dev → 2.x-dev2025-08-13

PHP version history (3 changes)1.0.0PHP ^7.2

2.0.0PHP ^8.0

2.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/91732d78336582954080932d4350d08420a053dbba6728f1727b5500ab931c65?d=identicon)[Erwane](/maintainers/Erwane)

---

Top Contributors

[![Erwane](https://avatars.githubusercontent.com/u/712604?v=4)](https://github.com/Erwane "Erwane (10 commits)")

---

Tags

webhookMailjetsendinblue

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-webhook-server

Send webhooks in Laravel apps

1.1k8.8M22](/packages/spatie-laravel-webhook-server)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[mailjet/mailjet-apiv3-php

PHP wrapper for the Mailjet API

27411.4M77](/packages/mailjet-mailjet-apiv3-php)[omnimail/omnimail

PHP Library to send email across all platforms using one interface.

32934.3k](/packages/omnimail-omnimail)[kyon147/laravel-shopify

Shopify package for Laravel to aide in app development

473252.9k](/packages/kyon147-laravel-shopify)[mailjet/laravel-mailjet

Laravel package for Mailjet API V3 and Laravel Mailjet Mail Transport

1111.5M2](/packages/mailjet-laravel-mailjet)

PHPackages © 2026

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