Documentation
Laravel Connector
Packagist: coffeemail/coffeemail-laravel v0.1.0Official CoffeeMail driver for Laravel Mailer, notifications, and webhooks, featuring Symfony Mailer integration and native queue support.
Looking for the standalone PHP SDK? Check the official coffeemail/coffeemail-php package documentation.
terminal
Environment Configuration
Add your credentials to your .env file and set CoffeeMail as your default application mailer.
.env
config/mail.php
Sending with Laravel Mailer (Mailables & Queues)
Send transactional emails using native Laravel Mail syntax, with full background queue worker support.
app/Mail/PedidoConfirmadoMail.php
Direct API Access via Facade
The CoffeeMail Facade provides direct access to all CoffeeMail API resources with [$data, $error] tuple destructuring.
ExemploFacade.php
Webhook Protection Middleware
The verify.coffeemail.signature middleware validates the HMAC SHA-256 cryptographic signature and protects your routes.
routes/api.php