PHP code example of themosis / mailjet-driver

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

    

themosis / mailjet-driver example snippets


return [
    'mailjet' => [
        'public' => env('MAILJET_PUBLIC_KEY'),
        'secret' => env('MAILJET_SECRET_KEY'),
        'version' => env('MAILJET_VERSION', 'v3.1')
    ],
    ...
];

return [
    'providers' => [
        // Illuminate providers...

        Themosis\MailJet\MailServiceProvider::class,

        // Application providers
    ]
];