laravel maintained by supersendtx
Description
Laravel integration for the SuperSend TX transactional email API
Author
SuperSend TX
Last update
2026/08/04 08:02
(dev-main)
License
Downloads
4
Tags
SuperSend TX Laravel package
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>',
]);