emailit-laravel-driver maintained by robkerry
Description
Emailit Laravel Driver
Author
Last update
2025/06/27 22:39
(dev-main)
License
Downloads
1 017
Tags
Emailit Laravel Driver
This PHP package provides a native mail driver for Laravel applications. Once installed and configured, Mailers are routed via the Emailit API.
Table of Contents
Installation
Requirements
- Laravel 10.0+
- PHP 8.0+
- Guzzle 7.0+
- An API Key from emailit.com
Setup
You can install the package via composer:
composer require robkerry/emailit-laravel-driver
If you'd like to publish the config file, you can do that using:
php artisan vendor:publish --tag=emailit-config
Next, you need to set EMAILIT_API_KEY in your .env file:
EMAILIT_API_KEY=
And set the environment variable MAIL_MAILER in your .env file
MAIL_MAILER=emailit
Then, double check that your FROM data is filled in .env:
MAIL_FROM_ADDRESS=app@yourdomain.com
MAIL_FROM_NAME="App Name"
Lastly, add Emailit as a Laravel Mailer in config/mail.php in the mailers array:
'emailit' => [
'transport' => 'emailit',
],
Thanks
This plugin is a fork of the MailerSend package found here: https://github.com/mailersend/mailersend-laravel-driver
Thank you to them for creating and MIT licensing it, so that I could use it for my current email provider.