Google reCaptcha with Laravel

Laravel 8 Google Captcha without any third party package. First add below keys in .env file GOOGLE_CAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI GOOGLE_CAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe GOOGLE_CAPTCHA_VERIFICATION_URL=https://www.google.com/recaptcha/api/siteverify Note:these are test keys from google document. then in config folder create a file called google_captcha.php <?php return [ ‘site_key’ => env(‘GOOGLE_CAPTCHA_SITE_KEY’), ‘secret_key’ => env(‘GOOGLE_CAPTCHA_SECRET_KEY’), ‘gc_verification_url’ => env(‘GOOGLE_CAPTCHA_VERIFICATION_URL’), ‘error_codes’ => [ “missing-input-secret” => “The secret parameter … Read more