2

我想在我的 5.7 版本的 laravel 网站中使用 Google reCaptcha-v3,那么我可以关注哪些文章或视频?

4

2 回答 2

1

You can go with this package Larave google captchaV3

Either you can use this package or you can get the code or idea from there

You can go with the official documentation Google captcha V3

于 2019-06-26T12:13:17.507 回答
1

在 Laravel 中试试这个:https ://github.com/AlexStack/Google-Recaptcha-to-any-form

基本示例代码:

在 Form_Field_ID 之后显示 Google Recaptcha v2 或 v3:

GoogleRecaptcha::show('SiteKey', 'Form_Field_ID');

在后端 php 中验证它:

GoogleRecaptcha::verify('SecretKey');
于 2019-07-11T06:56:10.990 回答