intonate / laravel-mandrill-driver
Mandrill mail driver for Laravel
Installs: 575 736
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 2
Forks: 8
Open Issues: 2
Requires
- php: ^8.2
- illuminate/support: ^11.0
- mailchimp/transactional: ^1.0
- symfony/http-client: ^7.0
- symfony/mailchimp-mailer: ^7.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.5
- psy/psysh: ^0.12
- symfony/var-dumper: ^7.0
This package is auto-updated.
Last update: 2024-04-12 01:34:53 UTC
README
The missing Mandrill API based mail driver for Laravel
Versions
Laravel | Install |
---|---|
11.x | ^4.0 |
10.x | ^3.1 |
9.x | ^3.0 |
8.x | ^2.0 |
7.x | ^1.2 |
6.x | ^1.0 |
Laravel 8, 9, 10 & 11 Installation
- 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', ],
Laravel 6 & 7 Installation
- Set the
MAIL_DRIVER=mandrill
andMANDRILL_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.