Skip to content

Commit

Permalink
Apply Laravel code style to config
Browse files Browse the repository at this point in the history
Co-authored-by: Clem Blanco <[email protected]>
  • Loading branch information
jeromegamez and clemblanco committed Oct 5, 2023
1 parent 25f3214 commit 5b682a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/firebase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@
* Default Firebase project
* ------------------------------------------------------------------------
*/

'default' => env('FIREBASE_PROJECT', 'app'),

/*
* ------------------------------------------------------------------------
* Firebase project configurations
* ------------------------------------------------------------------------
*/

'projects' => [
'app' => [

/*
* ------------------------------------------------------------------------
* Credentials / Service Account
Expand Down Expand Up @@ -46,6 +49,7 @@
* first time you try to access a component of the Firebase Admin SDK.
*
*/

'credentials' => env('FIREBASE_CREDENTIALS', env('GOOGLE_APPLICATION_CREDENTIALS')),

/*
Expand All @@ -65,6 +69,7 @@
*/

'database' => [

/*
* In most of the cases the project ID defined in the credentials file
* determines the URL of your project's Realtime Database. If the
Expand All @@ -76,6 +81,7 @@
* Please make sure that you use a full URL like, for example,
* https://my-project-id.firebaseio.com
*/

'url' => env('FIREBASE_DATABASE_URL'),

/*
Expand All @@ -85,12 +91,15 @@
*
* https://firebase.google.com/docs/database/admin/start#authenticate-with-limited-privileges
*/

// 'auth_variable_override' => [
// 'uid' => 'my-service-worker'
// ],

],

'dynamic_links' => [

/*
* Dynamic links can be built with any URL prefix registered on
*
Expand All @@ -102,6 +111,7 @@
* The value must be a valid domain, for example,
* https://example.page.link
*/

'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN'),
],

Expand All @@ -112,6 +122,7 @@
*/

'storage' => [

/*
* Your project's default storage bucket usually uses the project ID
* as its name. If you have multiple storage buckets and want to
Expand All @@ -120,6 +131,7 @@
*/

'default_bucket' => env('FIREBASE_STORAGE_DEFAULT_BUCKET'),

],

/*
Expand Down Expand Up @@ -162,11 +174,14 @@
*
* Behavior of the HTTP Client performing the API requests
*/

'http_client_options' => [

/*
* Use a proxy that all API requests should be passed through.
* (default: none)
*/

'proxy' => env('FIREBASE_HTTP_CLIENT_PROXY'),

/*
Expand All @@ -176,6 +191,7 @@
* The default time out can be reviewed at
* https://github.com/kreait/firebase-php/blob/6.x/src/Firebase/Http/HttpClientOptions.php
*/

'timeout' => env('FIREBASE_HTTP_CLIENT_TIMEOUT'),

'guzzle_middlewares' => [],
Expand Down

0 comments on commit 5b682a0

Please sign in to comment.