Skip to content

Commit e4af8d1

Browse files
committed
UPDATED
1 parent 18d69e2 commit e4af8d1

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,24 @@ Remember to turn on the service by enable is_service_enabled to be true.
8080

8181
For more details please check comments in config file.
8282

83-
#### Rendering View
83+
#### Display reCAPTCHA v3
84+
8485
- Pass your action name in render(...) function
8586
- Each action should have its own mapped id which you have specified in setting file.
8687

8788
``` html
88-
{!! \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::render($action1,$action2) !!}
89+
{!! app('captcha')->display($attributes) !!}
90+
```
91+
92+
Or use Facade
93+
``` html
94+
{!! GoogleReCaptchaV3::render($action1,$action2) !!}
95+
```
96+
97+
Example Usage
98+
99+
``` html
100+
{!! GoogleReCaptchaV3::render($action1,$action2) !!}
89101

90102
<form method="POST" action="/verify1">
91103
@csrf
@@ -99,6 +111,8 @@ For more details please check comments in config file.
99111
<input type="submit" class="g-recaptcha" value="submit">
100112
</form>
101113
```
114+
115+
102116
- You can pass multiple $action in render(...)
103117
- Please specify your id for the input below:
104118

0 commit comments

Comments
 (0)