PHP code example of clarification / sendgrid-laravel-driver

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

    

clarification / sendgrid-laravel-driver example snippets


Clarification\MailDrivers\Sendgrid\SendgridServiceProvider::class,

'sendgrid' => [
    'api_key' => env('SENDGRID_API_KEY'),
],

'driver' => env('MAIL_DRIVER', 'sendgrid'),

'sendgrid' => [
    'api_key' => env('SENDGRID_API_KEY'),
    'guzzle' => [
        'verify' => true,
        'decode_content' => true,
    ]
],