Commit f00916fb authored by Nguyen Van Anh's avatar Nguyen Van Anh Committed by GitHub

Update README.md

parent b81b0e57
...@@ -38,6 +38,12 @@ NOCAPTCHA_SITEKEY=[site-key] ...@@ -38,6 +38,12 @@ NOCAPTCHA_SITEKEY=[site-key]
{!! app('captcha')->display(); !!} {!! app('captcha')->display(); !!}
``` ```
With custom attributes and language support:
```
{!! app('captcha')->display($attributes = [], $lang = null); !!}
```
##### Validation ##### Validation
Add `'g-recaptcha-response' => 'required|captcha'` to rules array. Add `'g-recaptcha-response' => 'required|captcha'` to rules array.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment