resend / resend-php
Resend PHP library.
v1.13.0
2026-09-03 19:51 UTC
Requires
- php: ^8.1.0
- guzzlehttp/guzzle: ^7.8.2 || ^8.0
- guzzlehttp/psr7: ^2.6.3 || ^3.0
- psr/http-client: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- mockery/mockery: ^1.6
- pestphp/pest: ^1.0|^2.0|^3.0|^4.0|^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-04 01:09:00 UTC
README
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.