intonate / laravel-mandrill-driver by scrubmx

Laravel Mandrill API based mail driver.
576,307
16
2
Package Data
Maintainer Username: scrubmx
Maintainer Contact: scrub.mx@gmail.com (Jorge González)
Package Create Date: 2019-09-18
Package Last Update: 2024-04-12
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-19 15:16:56
Package Statistics
Total Downloads: 576,307
Monthly Downloads: 23,087
Daily Downloads: 1,159
Total Stars: 16
Total Watchers: 2
Total Forks: 8
Total Open Issues: 0

Laravel Mandrill Driver

PHPUnit StyleCI License

The missing Mandrill API based mail driver for Laravel

Versions

Laravel | Install ------- | ------ 6.x | ^1.0 7.x | ^1.2 8.x | ^2.0 9.x | ^3.0

Laravel 8 & 9 Installation

  • First, require the package using composer:
composer require intonate/laravel-mandrill-driver
  • Add the MAIL_MAILER and MANDRILL_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',
],

Laravel 6 & 7 Installation

  • Set the MAIL_DRIVER=mandrill and MANDRILL_SECRET environment variables.
  • Add mandrill config to the config/services.php file:
'mandrill' => [
    'secret' => env('MANDRILL_SECRET'),
],

Credits

License

This is an open-sourced software licensed under the MIT license.