Laravel8 Google Recaptcha Eklenmesi ve Kullanımı
composer require albertcht/invisible-recaptcha
AlbertCht\InvisibleReCaptcha\InvisibleReCaptchaServiceProvider::class,
INVISIBLE_RECAPTCHA_SITEKEY=siteKey
INVISIBLE_RECAPTCHA_SECRETKEY=secretKey
// optional
INVISIBLE_RECAPTCHA_BADGEHIDE=false
INVISIBLE_RECAPTCHA_DATABADGE='bottomright'
INVISIBLE_RECAPTCHA_TIMEOUT=5
INVISIBLE_RECAPTCHA_DEBUG=false
view
{!! app('captcha')->render() !!}
validation
'g-recaptcha-response' => 'required|captcha'
script yerinde
{!! app('captcha')->renderCaptchaHTML() !!}
Laravel8 Google Recaptcha Eklenmesi ve Kullanımı