PHP code example of adamcmoore / laravel-newsletter-emailoctopus

1. Go to this page and download the library: Download adamcmoore/laravel-newsletter-emailoctopus 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/ */

    

adamcmoore / laravel-newsletter-emailoctopus example snippets




return [
    'driver' => AcMoore\LaravelNewsletter\Drivers\EmailOctopusDriver::class,
    'driver_arguments' => [
        'api_key' => env('EMAIL_OCTOPUS_API_KEY'),
    ],
    'default_list_name' =>  'default',
    'lists' => [
        'default' => [
            'id' => env('EMAIL_OCTOPUS_LIST_ID'),
        ],
    ],
];