resend/resend-php
The official PHP client for the Resend email API. Install via Composer on PHP 8.1+, then send email in a few lines with a simple client interface inspired by OpenAI PHP.
Send email with:
Requires PHP 8.1+
First, install Resend via the Composer package manager:
composer require resend/resend-php
Then, interact with Resend's API:
$resend = Resend::client('re_123456789');
$resend->emails->send([
'from' => '[email protected]',
'to' => '[email protected]',
'subject' => 'hello world',
'text' => 'it works!',
]);
Note This client is inspired by OpenAI PHP.
How can I help you explore Laravel packages today?