PHP code example of se468 / laravel-mail-preview

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

    

se468 / laravel-mail-preview example snippets


    'middleware' => [
        \App\Http\Middleware\EncryptCookies::class,
    ],

php artisan vendor:publish --provider="Themsaid\MailPreview\MailPreviewServiceProvider"

php artisan migrate

and

php artisan vendor:publish --tag=public --force