kreait / laravel-firebase

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

can you put implementing for this library #42

Closed thaifani closed 4 years ago

thaifani commented 4 years ago

Hi please provide an example for using this extra lib

jeromegamez commented 4 years ago

An example to do what? The package in its current form is just a wrapper for the SDK to make the configuration easier.

thaifani commented 4 years ago

but i have receive this error we failsKreait\Firebase\Exception\InvalidArgumentException: Invalid service account specification in

... ... "message":"Invalid service account specification

jeromegamez commented 4 years ago

That’s probably because you used a configuration for a web client SDK instead of a Service Account. The setup/configuration is described in the readme of this repo: https://github.com/kreait/laravel-firebase#configuration

thaifani commented 4 years ago

thanks a lot it was because the json file was in incorrect dir

jeromegamez commented 4 years ago

You're welcome 🌺