Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ranla

Official PHP client for the Ranla email API.

composer require ranla/ranla
use Ranla\Client;

$client = new Client(getenv('RANLA_API_KEY'));

$email = $client->emails->send([
    'from' => 'ops@yourdomain.com',
    'to' => 'user@example.com',
    'subject' => 'Your receipt',
    'html' => '<p>Thanks for your purchase.</p>',
]);

echo $email['id'], ' ', $email['status'];

Defaults to https://api.ranla.ai. API keys may start with rnl_ or stx_.

The legacy supersendtx/supersendtx package on Packagist remains supported.

License

MIT

About

Official PHP client for the Ranla email API (mirrored from superTX-app on release)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages