Skip to content

Commit 4fa91e5

Browse files
committed
Include the Realtime Database URL in the config section
1 parent 84a0289 commit 4fa91e5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,16 @@ the Firebase APIs by inspecting certain environment variables and looking into G
7171
If you don't already have generated a Service Account, you can do so by following the instructions from the
7272
official documentation pages at https://firebase.google.com/docs/admin/setup#initialize_the_sdk.
7373

74-
Once you have downloaded the Service Account JSON file, you can use it to configure the package by specifying
75-
the environment variable `FIREBASE_CREDENTIALS` in your `.env` file:
74+
Once you have downloaded the Service Account JSON file, you can configure the package by specifying
75+
environment variables starting with `FIREBASE_` in your `.env` file. Usually, the following are
76+
required for the package to work:
7677

7778
```
78-
FIREBASE_CREDENTIALS=/full/path/to/firebase_credentials.json
79-
# or
80-
FIREBASE_CREDENTIALS=relative/path/to/firebase_credentials.json
79+
# relative or full path to the Service Account JSON file
80+
FIREBASE_CREDENTIALS=
81+
# You can find the database URL for your project at
82+
# https://console.firebase.google.com/project/_/database
83+
FIREBASE_DATABASE_URL=https://<your-project>.firebaseio.com
8184
```
8285

8386
For further configuration, please see [config/firebase.php](config/firebase.php). You can modify the configuration

0 commit comments

Comments
 (0)