Search by

supersendtx / laravel

SuperSend

Laravel integration for the SuperSend TX transactional email API

v0.8.7 2026-09-26 05:11 UTC

This package is auto-updated.

Last update: 2026-09-26 05:13:37 UTC


README

Laravel Mail transport and integration for the SuperSend TX transactional email API.

composer require supersendtx/laravel

Set in .env:

SUPERSENDTX_API_KEY=stx_your_key_here
MAIL_MAILER=supersendtx

Add to config/mail.php:

'supersendtx' => [
    'transport' => 'supersendtx',
],

Then send as usual:

Mail::to($user)->send(new WelcomeMail($user));

Optional: use the Facade / PHP client for direct API calls:

use SuperSendTX\Laravel\Facades\SuperSendTX;

SuperSendTX::client()->emails->send([
    'from' => 'you@yourdomain.com',
    'to' => 'user@example.com',
    'subject' => 'Hello',
    'html' => '<p>It works.</p>',
]);

Docs: https://docs.ranla.ai/frameworks/laravel