@@ -9,7 +9,6 @@ Google reCAPTCHA v3 is a new mechanism to verify whether the user is bot or not.
9
9
## Features
10
10
11
11
- Score Comparision
12
- - Support multiple input field for different form tag on a single HTML page
13
12
- Support custom implementation on config interface
14
13
- Support custom implementation on request method interface
15
14
@@ -31,7 +30,7 @@ This package requires the following dependencies:
31
30
Via Composer
32
31
33
32
``` sh
34
- $ composer require ryandeng/googlerecaptcha " ^0.1.3 "
33
+ $ composer require ryandeng/googlerecaptcha " ^0.2.0 "
35
34
```
36
35
37
36
If your Laravel framework version <= 5.4, please register the service provider in your config file: /config/app.php, otherwise please skip it.
@@ -101,15 +100,14 @@ Example Usage
101
100
102
101
<form method =" POST" action =" /verify" >
103
102
@csrf
104
- <input type =" hidden" id =" contactus_id" name =" g-recaptcha-response" >
105
103
{!! GoogleReCaptchaV3::render('contact_us') !!}
106
104
107
105
<input type =" submit" class =" g-recaptcha" value =" submit" >
108
106
</form >
109
107
110
108
```
111
109
112
- Note: all actions should be registered in googlerecaptchav3 config file in 'setting' section.
110
+ Note: For score comparision, all actions should be registered in googlerecaptchav3 config file under 'setting' section.
113
111
114
112
You can also customise your own template under googlerecaptchav3 folder.
115
113
@@ -124,9 +122,6 @@ You can also customise your own template under googlerecaptchav3 folder.
124
122
];
125
123
```
126
124
127
- 'g-recaptcha-response' is the name of your input field, which is currently hard-coded.
128
-
129
- GoogleReCaptchaValidationRule($actionName, $ip) which accepts two optional parameters:
130
125
- $actionName: if its NULL, the package won't verify action with google response.
131
126
132
127
#### Facade Class
@@ -140,7 +135,6 @@ $action: Google reCAPTCHA definition
140
135
141
136
$response: which is a value comes from g-recaptcha-response
142
137
143
- $ip: optional
144
138
145
139
## Advanced Usage
146
140
0 commit comments