thedoctor0/laravel-mailjet-driver
thedoctor0/laravel-mailjet-driver provides a Mailjet transport for Laravel's native mail system, letting you send email through Mailjet's API via the Mail facade. Configure credentials and use familiar Laravel mail workflows with minimal setup.
Mailjet::sendEmail() and Mailjet::sendSms() mean you can ship transactional email and SMS from one SDK instead of hand-rolling API clients. That collapses two integrations (email transport plus SMS provider) into one dependency — a genuine scope reduction for notification-heavy features (OTP, alerts, order updates).Notifiable abstraction can route to mail and SMS. This affects how you model user contact preferences and channel fallbacks.Adopt when:
Mail transport rather than a webhook/HTTP shim.src/ and a CI matrix across PHP 8.3–8.5 × Laravel 11–13 is a strong signal of ongoing stewardship.Send API v3.1, and specifically the v3 payload fallback for legacy templates or migration paths.Look elsewhere when:
Note the upgrade trap: the Laravel 11–13 trim is a deliberate breaking change in a minor version. Pin 2.0.x if you cannot yet meet the platform floor, and treat 1.x as frozen.
For executives: Mailjet's Laravel integration just became materially more useful. Version 2.1.0 adds native SMS sending alongside email, letting one vendor and one SDK cover two of our notification channels — which reduces vendor count, contract overhead, and integration work. It ships with full test coverage of the source and a current PHP/Laravel compatibility matrix, so the maintenance risk is low. The trade-off: it only supports recent Laravel versions (11–13) and PHP 8.2+, so adoption is gated on our platform upgrade timeline.
For engineering: 2.1.0 exposes Mailjet::sendEmail() (Send API v3.1, with an opt-in v3 payload fallback) and Mailjet::sendSms() (SMS API v4) directly, on top of the existing mail transport. The dependency bumps to mailjet/mailjet-apiv3-php ^1.6, which brings public setAuthentication(), raw-data params, and PHP 8.4 fixes. Support is trimmed to Laravel 11–13 / PHP 8.2+; anything on 9–10 must stay on 1.x. Internally it now has 100% line coverage of src/ (528 lines, 184 tests) and a CI matrix spanning PHP 8.3–8.5 across Laravel 11–13.
The ask: confirm our Laravel/PHP floor, then pilot the SMS path against a non-critical notification before committing. If we're not yet on Laravel 11+, decide whether the 1.x branch is an acceptable interim or whether that pushes our upgrade forward.
How can I help you explore Laravel packages today?