Skip to content

Commit 7afebc6

Browse files
authored
Update README.md
1 parent a8390ed commit 7afebc6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This package requires the following dependencies:
3030
Via Composer
3131

3232
``` sh
33-
$ composer require ryandeng/googlerecaptcha "^1.0.0"
33+
$ composer require timehunter/laravel-google-recaptcha-v3 "^1.0.0"
3434
```
3535

3636
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
3939
``` php
4040
'providers'=[
4141
....,
42-
RyanDeng\GoogleReCaptcha\Providers\GoogleReCaptchaV3ServiceProvider::class
42+
TimeHunter\LaravelGoogleCaptchaV3\Providers\GoogleReCaptchaV3ServiceProvider::class
4343
]
4444
```
4545

4646
And also
4747
``` php
4848
'aliases'=[
4949
....,
50-
'GoogleReCaptchaV3'=>\RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::class
50+
'GoogleReCaptchaV3'=> TimeHunter\LaravelGoogleCaptchaV3\Facades\GoogleReCaptchaV3::class
5151
]
5252
```
5353

@@ -118,7 +118,7 @@ You can also customise your own template under googlerecaptchav3 folder.
118118
You can use provided Validation object to verify your reCAPTCHA.
119119

120120
``` php
121-
use RyanDeng\GoogleReCaptcha\Validations\GoogleReCaptchaValidationRule
121+
use TimeHunter\LaravelGoogleCaptchaV3\Validations\GoogleReCaptchaValidationRule
122122
$rule = [
123123
'g-recaptcha-response' => [new GoogleReCaptchaValidationRule('action_name')]
124124
];
@@ -153,7 +153,7 @@ Example Usage
153153
For some users, they might store the config details in their own storage e.g database. You can create your own class and implement:
154154

155155
```
156-
RyanDeng\GoogleReCaptcha\Interfaces\ReCaptchaConfigV3Interface
156+
TimeHunter\LaravelGoogleCaptchaV3\Interfaces\ReCaptchaConfigV3Interface
157157
```
158158

159159
Remember to register your implementation, e.g.
@@ -169,7 +169,7 @@ Remember to register your implementation, e.g.
169169

170170
The package uses Guzzle\Http to verify, if you want to use your own request method, You can create your own class and implement
171171
```
172-
RyanDeng\GoogleReCaptcha\Interfaces\RequestClientInterface
172+
TimeHunter\LaravelGoogleCaptchaV3\Interfaces\RequestClientInterface
173173
```
174174

175175
Remember to register your implementation.
@@ -189,10 +189,8 @@ If you discover any security related issues, please email ryandadeng@gmail.com i
189189

190190
MIT. Please see the [license file](license.md) for more information.
191191

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
196194

197195
[link-packagist]: https://packagist.org/packages/ryandeng/googlerecaptcha
198196
[link-downloads]: https://packagist.org/packages/ryandeng/googlerecaptcha

0 commit comments

Comments
 (0)