Skip to content
Advertisement

Tag: firebase

I have an error while using firebase php which is cURL error 35

I am trying to use php with firebase after installing the package “composer require kreait/firebase-php ^4.0” and adjusting my firebase it shows me that error: Fatal error: Uncaught GuzzleHttpExceptionConnectException: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ff64t.firebaseio.com:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:xampphtdocsdashboardwebservicephp_firebasevendorguzzlehttpguzzlesrcHandlerCurlFactory.php:200 Stack trace: #0 C:xampphtdocsdashboardwebservicephp_firebasevendorguzzlehttpguzzlesrcHandlerCurlFactory.php(155): GuzzleHttpHandlerCurlFactory::createRejection(Object(GuzzleHttpHandlerEasyHandle), Array) #1 C:xampphtdocsdashboardwebservicephp_firebasevendorguzzlehttpguzzlesrcHandlerCurlFactory.php(105): GuzzleHttpHandlerCurlFactory::finishError(Object(GuzzleHttpHandlerCurlHandler), Object(GuzzleHttpHandlerEasyHandle), Object(GuzzleHttpHandlerCurlFactory)) #2 C:xampphtdocsdashboardwebservicephp_firebasevendorguzzlehttpguzzlesrcHandlerCurlHandler.php(43): GuzzleHttpHandlerCurlFactory::finish(Object(GuzzleHttpHandlerCurlHandler), Object(Guz in C:xampphtdocsdashboardwebservicephp_firebasevendorkreaitfirebase-phpsrcFirebaseExceptionApiException.php

incrementing a field in firestore (php)

I am looking for a way to increment a field in firestore like in this documentation. The only caveat is that I am trying to use firestore Client Sdk or the Admin Sdk for php. What is a clean solution for incrementing a field in php. Does it require both read and write operations or is it possible with only

Advertisement