PHP code example of grim-reapper / laravel-advanced-email
1. Go to this page and download the library: Download grim-reapper/laravel-advanced-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/ */
grim-reapper / laravel-advanced-email example snippets
use GrimReapper\AdvancedEmail\Facades\Email;
Email::to('[email protected]')
->subject('Welcome to Our Application')
->html('<h1>Welcome!</h1><p>Thank you for signing up.</p>')
->send();
bash
php artisan vendor:publish --provider="GrimReapper\AdvancedEmail\AdvancedEmailServiceProvider" --tag="config"
bash
php artisan migrate