PHP code example of jncinet / laravel-email-captcha

1. Go to this page and download the library: Download jncinet/laravel-email-captcha 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/ */

    

jncinet / laravel-email-captcha example snippets


...
'from' => [
        'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),
        // 因为发件人名称使用了中文,所以在这里转回
        'name' => \Qihucms\Support\Str::decode(env('MAIL_FROM_NAME', 'Example')),
    ],
...