Skip to content

Commit 517662d

Browse files
authored
Update readme.md
1 parent 50817b0 commit 517662d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If your Laravel framework version is >= 5.5, just run the following command to p
9595
$ php artisan vendor:publish --provider="TimeHunter\LaravelGoogleReCaptchaV2\Providers\GoogleReCaptchaV2ServiceProvider" --tag=googlerecaptchav2.config
9696
```
9797

98-
If you want to modify or customise your own template, you can publish a default view first:
98+
Optional: if you want to modify or customise your own template, you can publish a default view first, and change 'template' in config file:
9999

100100
```sh
101101
$ php artisan vendor:publish --provider="TimeHunter\LaravelGoogleReCaptchaV2\Providers\GoogleReCaptchaV2ServiceProvider" --tag=googlerecaptchav2.views
@@ -144,6 +144,15 @@ The backend request will receive a value for 'g-recaptcha-response', please take
144144

145145
#### Badge Display
146146

147+
Importance: you can always make your own template, just assign your template in config:
148+
149+
``` PHP
150+
[
151+
...
152+
'template' => 'test.template' // if your template is located at resources/views/test/template
153+
...
154+
]
155+
```
147156

148157
### Checkbox
149158

0 commit comments

Comments
 (0)