Looking to hire Laravel developers? Try LaraJobs

laravel-mailchimp-driver maintained by besmarteeinc

Description
Custom Laravel Mailchimp mail driver
Author
Last update
2025/02/11 11:12 (dev-enhance-transport)
License
Downloads
17

Comments
comments powered by Disqus

Laravel Mailchimp Driver

A simple Mailchimp mail driver package for Laravel extending the abstract mail transport functionality.

Installation

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:

return [
    // ...

    'mailers' => [
        // ...

        'mailchimp' => [
            'transport' => 'mailchimp',
        ],

    ],

    // ...
]

Set the MAIL_MAILER value in your env to mailchimp to enable it:

MAIL_MAILER=mailchimp

Testing

./vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.