Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperSend TX PHP SDK

Official PHP client for the SuperSend TX transactional email API.

composer require supersendtx/supersendtx
<?php

use SuperSendTX\Client;

$tx = new Client('stx_your_key_here');

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

echo $result['id'], ' ', $result['status'], PHP_EOL;

Docs: https://docs.supersendtx.com/sdks/php

About

SuperSend TX PHP SDK — composer require supersendtx/supersendtx

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages