This fork is a custom implementation for using this driver with Laravel 6 and Guzzle 7
Laravel | Guzzle | Install |
---|---|---|
6.x | 7.x | ^1.666 |
Original readme follows.
This is a community project and not an "official" one
Laravel | Install |
---|---|
6.x | ^1.0 |
7.x | ^1.2 |
8.x | ^2.0 |
First, require the package using composer:
composer require intonate/laravel-mandrill-driver
- Add the
MAIL_MAILER
andMANDRILL_SECRET
environment variables:
MAIL_MAILER=mandrill
MANDRILL_SECRET=YourMandrillAPIKey
- Add mandrill config to the
config/services.php
file:
'mandrill' => [
'secret' => env('MANDRILL_SECRET'),
],
- Add mandrill option to the
config/mail.php
"mailers" array:
'mandrill' => [
'transport' => 'mandrill',
],
- Set the
MAIL_DRIVER=mandrill
andMANDRILL_SECRET
environment variables. - Add mandrill config to the
config/services.php
file:
'mandrill' => [
'secret' => env('MANDRILL_SECRET'),
],
This is an open-sourced software licensed under the MIT license.