resend/resend-php
Resend PHP is an official PHP 8.1+ client for the Resend email API. Install via Composer and send transactional emails with a clean, simple interface (e.g., $resend->emails->send) in PHP or Laravel.
Unified Email Infrastructure: Replace fragmented email services (e.g., Mailgun, SendGrid, or legacy SMTP) with a single, modern API-driven solution. This package enables seamless integration of Resend’s unified email stack (transactional, marketing, and templated emails) into PHP/Laravel applications, reducing vendor lock-in and operational overhead.
Roadmap: Customer Communication Platform (CCP) Expansion Accelerate the rollout of Resend’s full API suite (contacts, automations, events, and webhooks) to power:
logs and events APIs).Build vs. Buy: Avoid Custom SDK Development Justify adopting this official-style SDK over building an in-house client by highlighting:
$resend->emails->send()).Use Cases:
SwiftMailer/PHPMailer).contacts/segments APIs (e.g., "VIP users only").delivered, bounced) with CRM/analytics tools using the events API.$resend->templates->create()).Adopt if:
Look elsewhere if:
symfony/mailer for SMTP).*"This package lets us replace fragmented email services with Resend’s unified API—cutting costs, improving deliverability, and enabling smarter customer communication. For example:
contacts and automations APIs to trigger emails based on user behavior (e.g., ‘Welcome’ series for new signups).composer require resend/resend-php—and our Laravel team can integrate it in days."**"This is a batteries-included PHP client for Resend’s API, designed for speed and clarity:
$resend->emails->send() mirrors Laravel’s Eloquent style, reducing onboarding time.EmailService interface)."**"This package unlocks real-time email event tracking via Resend’s events and logs APIs:
email.delivered) can trigger updates in tools like Mixpanel or Amplitude.templates API to dynamically render variants and measure performance.
Example: Integrate the events API with our data pipeline to correlate email activity with user retention."*How can I help you explore Laravel packages today?