2016-01-26 23:20:08 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2023-03-13 17:33:19 -04:00
|
|
|
/*
|
|
|
|
* The driver to use to interact with MailChimp API.
|
|
|
|
* You may use "log" or "null" to prevent calling the
|
|
|
|
* API directly from your environment.
|
|
|
|
*/
|
|
|
|
'driver' => env('NEWSLETTER_DRIVER', Spatie\Newsletter\Drivers\MailcoachDriver::class),
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2023-03-13 17:33:19 -04:00
|
|
|
/**
|
|
|
|
* These arguments will be given to the driver.
|
|
|
|
*/
|
|
|
|
'driver_arguments' => [
|
|
|
|
'api_key' => env('MAILCHIMP_APIKEY'),
|
|
|
|
|
|
|
|
'endpoint' => env('NEWSLETTER_ENDPOINT'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The list name to use when no list name is specified in a method.
|
|
|
|
*/
|
|
|
|
'default_list_name' => 'subscribers',
|
|
|
|
|
|
|
|
'lists' => [
|
2017-09-26 15:59:57 -04:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
/*
|
2023-03-13 17:33:19 -04:00
|
|
|
* This key is used to identify this list. It can be used
|
|
|
|
* as the listName parameter provided in the various methods.
|
|
|
|
*
|
|
|
|
* You can set it to any string you want and you can add
|
|
|
|
* as many lists as you want.
|
2016-01-26 23:20:08 -05:00
|
|
|
*/
|
2023-03-13 17:33:19 -04:00
|
|
|
'subscribers' => [
|
2016-01-26 23:20:08 -05:00
|
|
|
|
|
|
|
/*
|
2023-03-13 17:33:19 -04:00
|
|
|
* When using the Mailcoach driver, this should be Email list UUID
|
|
|
|
* which is displayed in the Mailcoach UI
|
2016-01-26 23:20:08 -05:00
|
|
|
*
|
2023-03-13 17:33:19 -04:00
|
|
|
* When using the MailChimp driver, this should be a MailChimp list id.
|
|
|
|
* http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id.
|
2016-01-26 23:20:08 -05:00
|
|
|
*/
|
2023-03-13 17:33:19 -04:00
|
|
|
'id' => env('MAILCHIMP_LISTID'),
|
2016-01-26 23:20:08 -05:00
|
|
|
],
|
2023-03-13 17:33:19 -04:00
|
|
|
],
|
2016-01-26 23:20:08 -05:00
|
|
|
];
|