intonate / laravel-mandrill-driver by scrubmx

Laravel Mandrill API based mail driver.
776,587
17
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-25
Home Page: https://packagist.org/packages/intonate/laravel-mandrill-driver
Language: PHP
License: MIT
Last Refreshed: 2024-12-17 03:09:34
Package Statistics
Total Downloads: 776,587
Monthly Downloads: 19,499
Daily Downloads: 1,201
Total Stars: 17
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.