Skip to content

resend/resend-php

Folders and files

NameName
Last commit message
Last commit date
Dec 15, 2024
Jan 25, 2023
Mar 20, 2025
Mar 8, 2025
Jan 25, 2023
Jan 25, 2023
Feb 1, 2023
Apr 18, 2023
Sep 15, 2023
Dec 27, 2023
Dec 27, 2023
Oct 4, 2023
Mar 14, 2023

Repository files navigation

Resend PHP

Tests Packagist Downloads Packagist Version License


Examples

Send email with:

Getting started

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' => 'onboarding@resend.dev',
    'to' => 'user@gmail.com',
    'subject' => 'hello world',
    'text' => 'it works!',
]);

Note This client is inspired by OpenAI PHP.