resend / resend-php
Resend PHP library.
Installs: 1 277 541
Dependents: 13
Suggesters: 7
Security: 0
Stars: 43
Watchers: 3
Forks: 3
Open Issues: 7
Requires
- php: ^8.1.0
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- mockery/mockery: ^1.6
- pestphp/pest: ^2.0
- dev-main
- v0.17.0
- v0.16.0
- v0.15.2
- v0.15.1
- v0.15.0
- v0.14.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.0
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.1
- v0.1.0
- dev-feat-idempotency-keys-batch-emails
- dev-feat-get-contact-by-email
- dev-renovate/pestphp-pest-3.x
This package is auto-updated.
Last update: 2025-05-03 02:52:40 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.