PHP code example of bonnier / laravel-email-provider

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

    

bonnier / laravel-email-provider example snippets


    ...
    'providers' => [
        ...
       Bonnier\EmailProvider\EmailServiceProvider::class, 
    ],

    'email_manager' => [
        'url' => env('EMAIL_MANAGER_URL'),
        'service_id' => env('EMAIL_MANAGER_SERVICE_ID'),
    ],

    'aliases' => [
        ...,
        'BonnierMail' => \Bonnier\EmailProvider\Helpers\BonnierMail::class,
    ]