intonate / laravel-mandrill-driver
Laravel Mandrill API based mail driver.
Installs: 760 825
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 2
Forks: 8
Open Issues: 0
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-10-25 05:00:50 UTC
README
The missing Mandrill API based mail driver for Laravel
Note
This is a community project and not an official Laravel package
Versions
Installation Guide for Laravel 8, 9, 10 & 11
- Install the Package via Composer
Run the following command in your terminal to install the package using Composer:
composer require intonate/laravel-mandrill-driver
- Configure Environment Variables
Update your .env
file with the following environment variables:
MAIL_MAILER=mandrill MANDRILL_SECRET=YourMandrillAPIKey
- Update Service Configuration
Open your config/services.php
file and add the Mandrill configuration to it:
'mandrill' => [ 'secret' => env('MANDRILL_SECRET'), ],
- Configure Mail Driver
In your config/mail.php
file, add the Mandrill mailer configuration to the "mailers" array:
'mailers' => [ //... 'mandrill' => [ 'transport' => 'mandrill', ], ],
Installation Guide for Laravel 6 & 7
Follow these steps to configure the Mandrill mail driver for Laravel 6 and 7:
- Configure Environment Variables
Update your .env
file with the following environment variables:
MAIL_DRIVER=mandrill MANDRILL_SECRET=YourMandrillAPIKey
- Update Service Configuration
Open the config/services.php
file and insert the Mandrill configuration:
'mandrill' => [ 'secret' => env('MANDRILL_SECRET'), ],
Credits
License
This is an open-sourced software licensed under the MIT license.