@@ -30,7 +30,7 @@ This package requires the following dependencies:
30
30
Via Composer
31
31
32
32
``` sh
33
- $ composer require ryandeng/googlerecaptcha " ^1.0 .0"
33
+ $ composer require timehunter/laravel-google-recaptcha-v3 " ^1.1 .0"
34
34
```
35
35
36
36
If your Laravel framework version <= 5.4, please register the service provider in your config file: /config/app.php, otherwise please skip it.
@@ -39,15 +39,15 @@ If your Laravel framework version <= 5.4, please register the service provider i
39
39
``` php
40
40
'providers'=[
41
41
....,
42
- RyanDeng\GoogleReCaptcha \Providers\GoogleReCaptchaV3ServiceProvider::class
42
+ TimeHunter\LaravelGoogleCaptchaV3 \Providers\GoogleReCaptchaV3ServiceProvider::class
43
43
]
44
44
```
45
45
46
46
And also
47
47
``` php
48
48
'aliases'=[
49
49
....,
50
- 'GoogleReCaptchaV3'=>\RyanDeng\GoogleReCaptcha \Facades\GoogleReCaptchaV3::class
50
+ 'GoogleReCaptchaV3'=> TimeHunter\LaravelGoogleCaptchaV3 \Facades\GoogleReCaptchaV3::class
51
51
]
52
52
```
53
53
@@ -118,7 +118,7 @@ You can also customise your own template under googlerecaptchav3 folder.
118
118
You can use provided Validation object to verify your reCAPTCHA.
119
119
120
120
``` php
121
- use RyanDeng\GoogleReCaptcha \Validations\GoogleReCaptchaValidationRule
121
+ use TimeHunter\LaravelGoogleCaptchaV3 \Validations\GoogleReCaptchaValidationRule
122
122
$rule = [
123
123
'g-recaptcha-response' => [new GoogleReCaptchaValidationRule('action_name')]
124
124
];
@@ -153,7 +153,7 @@ Example Usage
153
153
For some users, they might store the config details in their own storage e.g database. You can create your own class and implement:
154
154
155
155
```
156
- RyanDeng\GoogleReCaptcha \Interfaces\ReCaptchaConfigV3Interface
156
+ TimeHunter\LaravelGoogleCaptchaV3 \Interfaces\ReCaptchaConfigV3Interface
157
157
```
158
158
159
159
Remember to register your implementation, e.g.
@@ -169,7 +169,7 @@ Remember to register your implementation, e.g.
169
169
170
170
The package uses Guzzle\Http to verify, if you want to use your own request method, You can create your own class and implement
171
171
```
172
- RyanDeng\GoogleReCaptcha \Interfaces\RequestClientInterface
172
+ TimeHunter\LaravelGoogleCaptchaV3 \Interfaces\RequestClientInterface
173
173
```
174
174
175
175
Remember to register your implementation.
@@ -189,11 +189,9 @@ If you discover any security related issues, please email ryandadeng@gmail.com i
189
189
190
190
MIT. Please see the [ license file] ( license.md ) for more information.
191
191
192
- [ ico-version ] : https://img.shields.io/packagist/v/ryandeng/googlerecaptcha.svg?style=flat-square
193
- [ ico-downloads ] : https://img.shields.io/packagist/dt/ryandeng/googlerecaptcha.svg?style=flat-square
194
- [ ico-travis ] : https://img.shields.io/travis/ryandeng/googlerecaptcha/master.svg?style=flat-square
195
- [ ico-styleci ] : https://styleci.io/repos/12345678/shield
192
+ [ ico-version ] : https://img.shields.io/packagist/v/timehunter/laravel-google-recaptcha-v3.svg?style=flat-square
193
+ [ ico-downloads ] : https://img.shields.io/packagist/dt/timehunter/laravel-google-recaptcha-v3.svg?style=flat-square
196
194
197
- [ link-packagist ] : https://packagist.org/packages/ryandeng/googlerecaptcha
198
- [ link-downloads ] : https://packagist.org/packages/ryandeng/googlerecaptcha
195
+ [ link-packagist ] : https://packagist.org/packages/timehunter/laravel-google-recaptcha-v3
196
+ [ link-downloads ] : https://packagist.org/packages/timehunter/laravel-google-recaptcha-v3
199
197
[ link-author ] : https://github.com/ryandadeng
0 commit comments