PHP code example of haugen86 / statamic-recaptcha
1. Go to this page and download the library: Download haugen86/statamic-recaptcha 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/ */
haugen86 / statamic-recaptcha example snippets
return [
'forms' => ['contact'],
'sitekey' => env('RECAPTCHA_SITEKEY', ''),
'secret' => env('RCAPTCHA_SECRET', ''),
'score_threshold' => 0.5
];
php please vendor:publish --tag=recaptcha-config