After installation, add the turnstile configuration array to your config/services.php file. This maps the configuration to environment variables.
Then, add your Cloudflare Turnstile keys to your .env file using the following keys:
TURNSTILE_SITE_KEYTURNSTILE_SECRET_KEY
// config/services.php
return [
// ...,
'turnstile' => [
'key' => env('TURNSTILE_SITE_KEY'),
'secret' => env('TURNSTILE_SECRET_KEY'),
],
];
TURNSTILE_SITE_KEY="1x00000000000000000000AA"
TURNSTILE_SECRET_KEY="2x0000000000000000000000000000000AA"