We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 961cbef commit cdc127fCopy full SHA for cdc127f
README.md
@@ -14,7 +14,24 @@ Inform Google Search [Indexing API](https://developers.google.com/search/apis/in
14
composer require noud/laravel-google-indexing-api
15
```
16
17
-## Use
+2) Now follow the provider steps at [Google Api Client Wrapper](https://github.com/pulkitjalan/google-apiclient#laravel) and publish the config file.
18
+
19
+## Configuration
20
21
+1) Add these settings to your ```.env```.
22
+```
23
+GOOGLE_SERVICE_ENABLED=true
24
+GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION="/var/www/seo/config/google/google-service-account.json"
25
26
27
+2) Add the indexing scope to ```config/google.php```, like so:
28
29
+ 'scopes' => [
30
+ 'https://www.googleapis.com/auth/indexing'
31
+ ],
32
33
34
+## Usage
35
36
Here is a usage example:
37
0 commit comments