Skip to content

Commit 1f9d25c

Browse files
committed
UPDATED
1 parent 247d976 commit 1f9d25c

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,25 @@ Via Composer
3131
$ composer require ryandeng/googlerecaptcha "^0.1.3"
3232
```
3333

34-
If your Laravel framework version <= 5.4, please register the service provider in your config file: /config/app.php, otherwise please go to step 3.
34+
If your Laravel framework version <= 5.4, please register the service provider in your config file: /config/app.php, otherwise please skip it.
3535

36+
37+
``` php
38+
'providers'=[
39+
....,
40+
RyanDeng\GoogleReCaptcha\Providers\GoogleReCaptchaV3ServiceProvider::class
41+
]
3642
```
37-
RyanDeng\GoogleReCaptcha\Providers\GoogleReCaptchaV3ServiceProvider::class
43+
44+
And also
45+
``` php
46+
'aliases'=[
47+
....,
48+
'GoogleReCaptchaV3'=>\RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3::class
49+
]
3850
```
3951

52+
4053
If your Laravel framework version is >= 5.5, just run the following command to publish views and config.
4154
```sh
4255
$ php artisan vendor:publish --provider="RyanDeng\GoogleReCaptcha\Providers\GoogleReCaptchaV3ServiceProvider"

0 commit comments

Comments
 (0)