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

Declaration of Morrislaptop\\Firestore\\Factory::createFirestore(): Morrislaptop\\Firestore\\Firestore must be compatible with Kreait\\Firebase\\Factory::createFirestore #82

Closed choudharyafsaralikhurshid closed 3 years ago

choudharyafsaralikhurshid commented 3 years ago

Please help me i am getting this issue i am using firestore with out grpc extension Screenshot from 2021-03-10 20-16-10

jeromegamez commented 3 years ago

I'm sorry, but I can't provide support for other libraries here 😅 - if you're using Firestore, the Laravel Package and the underlying SDK expect that you have the grpc extension installed and that you use Google's official Firestore library.

You haven't shared which versions of the laravel-firebase package and the SDK you have installed, but you could try using an 1.x release of the package - please note that this will then use a 4.x release of the SDK, and I don't provide free support for releases other than the current ones…