PHP code example of creagia / laravel-web-mailer

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

    

creagia / laravel-web-mailer example snippets


'mailers' => [
    // ...
    'web' => [
        'transport' => 'web',
    ],
],
bash
php artisan vendor:publish --tag="web-mailer-config"
bash
php artisan laravel-web-mailer:cleanup