reCAPTCHA demo: Simple page

// https://github.com/2captcha/2captcha-phprequire(__DIR__ . '/src/autoloader.php');$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY');try { $result = $solver->recaptcha([ 'sitekey' => '6LfB5_IbAAAAAMCtsjEHEHKqcB9iQocwwxTiihJu', 'url' => 'https://2captcha.com/demo/recaptcha-v3', 'version' => 'v3', 'action' => 'demo_action', 'score' => 0.9, ]);} catch (\Exception $e) { die($e->getMessage());}die('Captcha solved: ' . $result->code); window.grecaptcha.ready(function() { grecaptcha.exe_cute( '6LfB5_IbAAAAAMCtsjEHEHKqcB9iQocwwxTiihJu', {action: 'demo_action'}, ).then(function(token) { if (window.verifyRecaptcha) { window.verifyRecaptcha(token); } });}); App Close❌ .