PHP code example of flexflux / laravel-elastic-email

1. Go to this page and download the library: Download flexflux/laravel-elastic-email 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/ */

    

flexflux / laravel-elastic-email example snippets


'mailers' => [
    ...
    'elastic_email' => [
        'transport' => 'elastic_email',
        'key' => env('ELASTIC_KEY')
    ],  
    ...
],

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
      \FlexFlux\LaravelElasticEmail\LaravelElasticEmailServiceProvider::class,
    ...
],