PHP code example of besmarteeinc / laravel-mailchimp-driver
1. Go to this page and download the library: Download besmarteeinc/laravel-mailchimp-driver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
besmarteeinc / laravel-mailchimp-driver example snippets
// config/services.php
return [
// ...
'mailchimp' => [
'secret' => env('MAILCHIMP_KEY'),
],
];
MAILCHIMP_KEY=<your key>
return [
// ...
'mailers' => [
// ...
'mailchimp' => [
'transport' => 'mailchimp',
],
],
// ...
]
MAIL_MAILER=mailchimp