One API over provider SDKs
Your Laravel app calls MailBridge methods while each adapter uses the provider's official SDK internally.
Send transactional mail, hosted templates, and marketing contacts through one stable Laravel API.
MailBridge::transactional()
->template('welcome')
->to($user->email)
->data(['name' => $user->name])
->dataFor('brevo', ['FIRSTNAME' => $user->name])
->dataFor('postmark', ['name' => $user->name])
->send();data() is the baseline. dataFor() is provider-specific and wins when that provider sends the message.
MailBridge::transactional()
->to($user->email)
->send(new WelcomeMail($user));Plain Laravel Mail::send() remains untouched for apps that still use it.
php artisan mailbridge:install
php artisan mailbridge:doctorCurrent SDK-backed providers include SendGrid, Amazon SES, Brevo, MailerSend, Resend, Postmark, Mailchimp, Kit, MailerLite, Mailgun, and Mailjet.
| Lane | Common features |
|---|---|
| Transactional | HTML/text, Laravel Mailables, hosted templates, provider-specific template data, attachments, cc/bcc/reply-to, tags, metadata, provider override, fallback, fake assertions |
| Marketing | subscribe/unsubscribe, lookup/delete, lists/groups, fields/attributes, campaigns, provider override, fallback, fake assertions |