New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

resend/resend-laravel

Resend for Laravel
5,760,123 128
Install
composer require resend/resend-laravel
Latest Version:v1.7.0
PHP:^8.1
Laravel:10 – 13
Older releases:9
License:MIT
Last Updated:Oct 20, 2026
Links: GitHub  ·  Packagist
Maintainer: resend

Resend for Laravel

Tests Packagist Downloads Packagist Version License


Provides Resend integration for Laravel and Symfony Mailer.

Requires PHP 8.1+

Examples

Send an email with:

Getting started

First install Resend for Laravel via the Composer package manager:

composer require resend/resend-laravel

Next, you should configure your Resend API key in your application's .env file:

RESEND_API_KEY=re_123456789

Finally, you may use the Resend facade to access the Resend API:

use Resend\Laravel\Facades\Resend;

Resend::emails()->send([
    'from' => 'onboarding@resend.dev',
    'to' => 'user@gmail.com',
    'subject' => 'hello world',
    'text' => 'it works!',
]);

Using Resend's Laravel mailer

Resend for Laravel comes bundled with a Laravel mailer to make it easier to send emails. To start using the Resend mail transport, first create a new mailer definition within your application's config/mail.php configuration file:

'resend' => [
    'transport' => 'resend',
],

Note The Resend mailer will use the RESEND_API_KEY in your application's .env file.

Finally, update the MAIL_MAILER environment variable to use resend:

MAIL_MAILER=resend

Configuration

You can optionally publish the configuration files to customize the package settings:

php artisan vendor:publish --tag=resend-config

Related Packages

kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3,428,830 361
infobip-community/infobip-api-php-sdk

PHP SDK package for Infobip API

21,286 6
azimidev/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

7,259 0
lettr/lettr-laravel

Lettr for Laravel - Official Laravel integration for Lettr email API

23,542 8
neclimdul/marketo-rest

Marketo Rest API library

121,326 1

Version History

Version Released PHP Laravel License
v1.7.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v1.6.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v1.5.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v1.4.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v1.3.2 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT