Download the PHP package drese/laravel-maileroo without Composer
On this page you can find all versions of the php package drese/laravel-maileroo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-maileroo
Laravel Maileroo
A Laravel wrapper package for Maileroo (*affiliate link) that provides seamless integration with Laravel's Mail system and form submissions. This package wraps the Maileroo SDK to make email sending simple and Laravel-friendly.
Features
- ✅ Seamless Laravel Mail integration
- ✅ Works with Mailables, Notifications, and Queued emails
- ✅ Form submission helper with auto-formatted HTML tables
- ✅ Direct SDK access when needed
- ✅ Support for CC, BCC, and Reply-To
- ✅ Attachment support
- ✅ Auto-discovery for Laravel
Requirements
- PHP 8.2 or higher
- Laravel 10.x, 11.x, or 12.x
Create a Maileroo Account
If you do not already have one, create a Maileroo Account here (*affiliate link). Once created, you will need to generate an API key and have it handy when setting up your environment variables.
Maileroo offers a generous free tier to get you going.
Installation
Install the package via Composer:
Publish Configuration
Configure Environment
Add the following to your .env file:
Update Mail Configuration
Add Maileroo to the mailers array in config/mail.php:
Usage
Transactional Emails
Use Laravel's standard Mail facade with any Mailable:
Or send via Notifications:
Standard Mailable Example
Mailables work automatically with the Maileroo transport:
Simple Email via Maileroo Facade:
Form Submissions
The package includes a convenient form submission helper that automatically formats form data into an HTML table.
Using the Facade:
Using Dependency Injection:
Direct SDK Access
For advanced use cases, you can access the Maileroo SDK directly.
Advanced Example with Attachments:
Scheduled Emails:
Bulk Emails:
License
The MIT License (MIT). Please see the License File for more information.
Support
This package is provided as-is in the hope that it will benefit the Laravel community. It is offered without warranty and without commitment to ongoing support.
All versions of laravel-maileroo with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/mail Version ^10.0|^11.0|^12.0
symfony/mailer Version ^6.0|^7.0
maileroo/maileroo-php-sdk Version ^2.0