Skip to content

Commit 9a2e1f5

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 07c179a + cf13d21 commit 9a2e1f5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Google reCAPTCHA v3 is a new mechanism to verify whether the user is bot or not.
99
## Features
1010

1111
- Score Comparision
12-
- Support multiple input field for different form tag on a single HTML page
1312
- Support custom implementation on config interface
1413
- Support custom implementation on request method interface
1514

@@ -31,7 +30,7 @@ This package requires the following dependencies:
3130
Via Composer
3231

3332
``` sh
34-
$ composer require ryandeng/googlerecaptcha "^0.1.3"
33+
$ composer require ryandeng/googlerecaptcha "^0.2.0"
3534
```
3635

3736
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
101100

102101
<form method="POST" action="/verify">
103102
@csrf
104-
<input type="hidden" id="contactus_id" name="g-recaptcha-response">
105103
{!! GoogleReCaptchaV3::render('contact_us') !!}
106104

107105
<input type="submit" class="g-recaptcha" value="submit">
108106
</form>
109107

110108
```
111109

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.
113111

114112
You can also customise your own template under googlerecaptchav3 folder.
115113

@@ -124,9 +122,6 @@ You can also customise your own template under googlerecaptchav3 folder.
124122
];
125123
```
126124

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:
130125
- $actionName: if its NULL, the package won't verify action with google response.
131126

132127
#### Facade Class
@@ -140,7 +135,6 @@ $action: Google reCAPTCHA definition
140135

141136
$response: which is a value comes from g-recaptcha-response
142137

143-
$ip: optional
144138

145139
## Advanced Usage
146140

0 commit comments

Comments
 (0)