A simple Mailchimp mail driver package for Laravel extending the abstract mail transport functionality.
You can install the package via composer by adding this to your composer.json:
{
"repositories": [
// ...
{
"type": "github",
"url": "https://github.com/besmarteeinc/laravel-mailchimp-driver.git"
}
]
}
Then run:
composer require besmarteeinc/laravel-mailchimp-driver
In your services.php
config file, add the following configuration:
// config/services.php
return [
// ...
'mailchimp' => [
'secret' => env('MAILCHIMP_KEY'),
],
];
Then set your MAILCHIMP_KEY
in your env.
MAILCHIMP_KEY=<your key>
Add the Mailchimp mailer to your config/mail.php
:
// config/mail.php
return [
// ...
'mailers' => [
// ...
'mailchimp' => [
'transport' => 'mailchimp',
],
],
// ...
]
Set the MAIL_MAILER
value in your env to mailchimp
to enable it:
MAIL_MAILER=mailchimp
./vendor/bin/pest
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.