kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
994 stars 163 forks source link

Access Credentials #178

Closed Nao-30 closed 1 year ago

Nao-30 commented 1 year ago

sorry but could someone provide a more detailed setup for the .env file?

i could not know which credentials are needed

is it the API key or sender id or access tokens or what exactly?

jeromegamez commented 1 year ago

The "Configuration" section of the README tells you about the needed credentials; you'll need a Google/Firebase Service Account - https://firebase-php.readthedocs.io/en/stable/setup.html explains how to get one.

Nao-30 commented 1 year ago

I see now, I didn't realize that. I was trying to find the "other way" mentioned, like setting some keys in the .env, then i knew i needed to keep it json anw but now that i see the credentials json file i understand why, warm regards.