2017 © Pedro Peláez
 

library cloud-firestore

Cloud Firestore client for PHP

image

google/cloud-firestore

Cloud Firestore client for PHP

  • Thursday, July 19, 2018
  • by bshaffer
  • Repository
  • 46 Watchers
  • 13 Stars
  • 5,844 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 27 Versions
  • 91 % Grown

The README.md

Cloud Firestore for PHP

Idiomatic PHP client for Cloud Firestore., (*1)

Latest Stable Version Packagist, (*2)

NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project., (*3)

A NoSQL document database built for automatic scaling, high performance, and ease of application development. While the Cloud Firestore interface has many of the same features as traditional databases, as a NoSQL database it differs from them in the way it describes relationships between data objects., (*4)

Installation

To begin, install the preferred dependency manager for PHP, Composer., (*5)

Now install this component:, (*6)

$ composer require google/cloud-firestore

This component requires the gRPC extension. Please see our gRPC installation guide for more information on how to configure the extension., (*7)

Authentication

Please see our Authentication guide for more information on authenticating your client. Once authenticated, you'll be ready to start making requests., (*8)

Sample

require 'vendor/autoload.php';

use Google\Cloud\Firestore\FirestoreClient;

$firestore = new FirestoreClient();

$collectionReference = $firestore->collection('Users');
$documentReference = $collectionReference->document($userId);
$snapshot = $documentReference->snapshot();

echo "Hello " . $snapshot['firstName'];

Debugging

Please see our Debugging guide for more information about the debugging tools., (*9)

Version

This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority., (*10)

Next Steps

  1. Understand the official documentation.
  2. Take a look at in-depth usage samples.

The Versions

19/07 2018
19/07 2018
03/07 2018
27/06 2018
12/06 2018
16/03 2018

v0.5.2

0.5.2.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

26/02 2018

v0.5.1

0.5.1.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

24/02 2018

v0.5.0

0.5.0.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

15/02 2018

v0.4.2

0.4.2.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

01/02 2018

v0.4.1

0.4.1.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

23/01 2018

v0.4.0

0.4.0.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

12/01 2018

v0.3.4

0.3.4.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

08/01 2018

v0.3.3

0.3.3.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

29/12 2017

v0.3.2

0.3.2.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

22/12 2017

v0.3.1

0.3.1.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

16/12 2017

v0.3.0

0.3.0.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

02/12 2017

v0.2.0

0.2.0.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

17/11 2017

v0.1.1

0.1.1.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires

 

16/11 2017

v0.1.0

0.1.0.0

Cloud Firestore client for PHP

  Sources   Download

Apache-2.0

The Requires