PHP code example of dyanakiev / laravel-sparkpost-driver
1. Go to this page and download the library: Download dyanakiev/laravel-sparkpost-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/ */
dyanakiev / laravel-sparkpost-driver example snippets
'sparkpost' => [
'secret' => env('SPARKPOST_SECRET'),
// optional guzzle specific configuration
'guzzle' => [
'verify' => true,
'decode_content' => true,
...
],
'options' => [
// configure endpoint, if not default
'endpoint' => env('SPARKPOST_ENDPOINT'),
// optional Sparkpost API options go here
'return_path' => '[email protected]',
'options' => [
'open_tracking' => false,
'click_tracking' => false,
'transactional' => true,
],
],
],