All Questions
Tagged with google-cloud-firestore php
134
questions
-4
votes
2
answers
52
views
Fatal Error: Call to undefined method Google\Cloud\Firestore\QuerySnapshot::count() [closed]
I want to echo 5000 user's documents from Firerstore to an HTML table using Laravel but am getting an error "call to undefined method Google\Cloud\Firestore\QuerySnapshot::count()". Please ...
0
votes
0
answers
40
views
How to retreive more than 5000 documents from firestore using laravel
I want to retrieve user's document more than 5000 from firestore to html table, i cant view the users table again because the document is more than 5000 but am getting error
public function history(...
1
vote
0
answers
41
views
PHP webhook and google initializer
i'm trying to set up a webhook to connect my stripe account to my firebase/firestore account and it's not working, i'm getting this message:
webhook.php - Uncaught Error: Class "Google\ApiCore\...
0
votes
0
answers
11
views
how to update a user's document in firestore using Laravel
i have a users document i created and i would want to update user's email and amount
I'm using firestore and laravel, below is my controller
Thanks in advance
// my edit button below
<td><a ...
0
votes
0
answers
38
views
How to execute code at the same time while debiting user's account tables in PHP
I'm new to php. i have users plans table(beta target, beta kopa, beta flex and users table) when a user withdraws, it sometimes debit the users plan table and wont debit the specific user main account,...
-1
votes
1
answer
43
views
Delete document on the basis of id match in the array field. in laravel
i am working on api in laravel for delete chats document in the firebase
following is my code
$collectionRef = $db->collection('chats');
$query = $collectionRef->where('participantId', '...
0
votes
0
answers
36
views
How to add project with google/cloud-firestore on azure deployment
I am trying to deploy a github project with google/cloud-firestore as one of the depenecies. This requires grpc.so to be installed and enabled in the php extension.
I have tried following the Azure ...
1
vote
1
answer
128
views
How to compare the date in firebase with the current date using Laravel
Please am new to using Laravel and firebase. Please how do I compare the date inside my firebase with the current date, I want to check if the inserted date in my firebase is greater than or equal to ...
0
votes
0
answers
171
views
How to use cURL POST to create Firebase Firestore document in WordPress
Novice in WordPress here.
I want to create new Firebase Firestore documents through cURL POST operations in a WordPress page
I don't want to install any existing Firebase plugins or modify any .php ...
0
votes
1
answer
226
views
PHP Firestore without gRPC extention
I am currently working on a PHP project using Firebase Firestore, and I plan to deploy the web application using Heroku. However, it turns out that Heroku does not support the gRPC extension. I have ...
1
vote
1
answer
18
views
DocumentSnap is coming empty in firebase in php
I am trying to fetch firestore document via php but snapshot is not showing any record
$collectionReference = $this->firestore->database()->collection('orders');
$...
0
votes
1
answer
95
views
In development with Laravel How to retrieve Firestore queries
I am currently using Laravel to create an application that utilizes Firestore.
I would like to extract only the data where a particular field in the collection retrieved from the Firestore is NULL (...
0
votes
1
answer
57
views
Problem reading email only from firebase php laravel
I am trying to reach any e-mail in this collection, but I did not know
i try to right
$document->data()['email']
but give me this error
my firebase
my code is :
public function index()
{
$...
1
vote
0
answers
564
views
Installing ext-grpc to allow an update in google/cloud-firestore
I'm trying to install google-firestore with composer but it just installs the oldest version of it "package is fixed to v0.1.0 (lock file version)". The problem is that google/cloud-...
0
votes
0
answers
80
views
Return compact Laravel always returns null
I'm using laravel framework for my website. I want to return value only from database without view but always get null.
Controller Code :
public function visitDetail($key) {
$visitDetail = app('...