Transmitly documentation
PHP SDK
Install the Transmitly PHP SDK, send from PHP or Laravel and control idempotency.
Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference
The PHP client requires PHP 8.1 or newer and installs through Composer.
Package: Packagist·OpenAPI 3.1
Install
install
composer require transmitly/sdkSend your first email
send
use TransmitlyClient;
$tx = new Client(getenv('TRANSMITLY_API_KEY'));
$accepted = $tx->emails->send([
'from' => 'Notify <[email protected]>',
'to' => ['[email protected]'],
'subject' => 'Your workspace is ready',
'html' => '<p>Welcome.</p>',
'tags' => ['flow' => 'onboarding'],
]);send generates an idempotency key; pass a second argument to supply your own. In Laravel, bind the client as a singleton in a service provider and inject it.
Next steps
Use the API reference for field names and the SDK overview for the Laravel provider example.
Need the full API surface? OpenAPI 3.1.