You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
Are you still using PHP 5.6? Please go to [V2](https://github.com/biscolab/laravel-recaptcha/tree/v2.0.4)
8
10
@@ -12,14 +14,14 @@ You can install the package via composer:
12
14
```sh
13
15
composer require biscolab/laravel-recaptcha:^3.0
14
16
```
15
-
The service **provider** must be registered in `config/app.php`:
17
+
Laravel 5.5 (or greater) uses package auto-discovery, so doesn't require you to manually add the Service Provider, but if you don't use auto-discovery `ReCaptchaServiceProvider` must be registered in `config/app.php`:
You can use the facade for shorter code. Add "ReCaptcha" to your aliases:
24
+
You can use the facade for shorter code. Add `ReCaptcha` to your aliases:
23
25
```php
24
26
'aliases' => [
25
27
...
@@ -43,15 +45,15 @@ return [
43
45
'skip_ip' => [] // array of IP addresses - String: dotted quad format e.g.: 127.0.0.1
44
46
];
45
47
```
46
-
For more invermation about Site Key and Secret Key please visit [Google RaCaptcha developer documentation](https://developers.google.com/recaptcha/docs/start)
47
-
Get more info about ReCAPTCHA version at https://developers.google.com/recaptcha/docs/versions
48
-
**skip_ip** is a list of IP addresses that, if recognized, disable the recaptcha validation (return always true).
48
+
For more invermation about Site Key and Secret Key please visit [Google reCAPTCHA developer documentation](https://developers.google.com/recaptcha/docs/start)
49
+
Get more info about reCAPTCHA version at https://developers.google.com/recaptcha/docs/versions
50
+
**skip_ip** is a list of IP addresses that, if recognized, disable the reCAPTCHA validation (return always true).
49
51
50
52
### Have you updated?
51
53
If you are migrating from an older version add `skip_ip` array in `recaptcha.php` configuration file.
52
54
53
55
### Customize error message
54
-
Before starting please add validation recaptcha message to `resources/lang/[LANG]/validation.php` file
56
+
Before starting please add the validation message to `resources/lang/[LANG]/validation.php` file
0 commit comments