PHPackages                             google/cloud-bigtable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. google/cloud-bigtable

ActiveLibrary[Database &amp; ORM](/categories/database)

google/cloud-bigtable
=====================

Cloud Bigtable Client for PHP

v2.24.0(1mo ago)14406.9k↓43.9%9[1 PRs](https://github.com/googleapis/google-cloud-php-bigtable/pulls)Apache-2.0PHPPHP ^8.1CI passing

Since Dec 22Pushed 1mo ago50 watchersCompare

[ Source](https://github.com/googleapis/google-cloud-php-bigtable)[ Packagist](https://packagist.org/packages/google/cloud-bigtable)[ RSS](/packages/google-cloud-bigtable/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (24)Versions (154)Used By (0)

Google Cloud Bigtable for PHP
=============================

[](#google-cloud-bigtable-for-php)

> Idiomatic PHP client for [Google Cloud Bigtable](https://cloud.google.com/bigtable/).

[![Latest Stable Version](https://camo.githubusercontent.com/000411a88d5978521d2efa548dd7d7e4b99d319f94f90fc329d8d435e5709fc6/68747470733a2f2f706f7365722e707567782e6f72672f676f6f676c652f636c6f75642d6269677461626c652f762f737461626c65)](https://packagist.org/packages/google/cloud-bigtable) [![Packagist](https://camo.githubusercontent.com/464022958b3753e942ff3346baa626d634d52b24a1932c2127676fccfdf2cfcc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f676f6f676c652f636c6f75642d6269677461626c652e737667)](https://packagist.org/packages/google/cloud-bigtable)

- [API Documentation](https://cloud.google.com/php/docs/reference/cloud-bigtable/latest)

**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any support requests, bug reports, or development contributions should be directed to that project.

A high performance NoSQL database service for large analytical and operational workloads.

### Installation

[](#installation)

To begin, install the preferred dependency manager for PHP, [Composer](https://getcomposer.org/).

Now install this component:

```
$ composer require google/cloud-bigtable
```

This component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods) please see our [gRPC installation guide](https://cloud.google.com/php/grpc).

### Notable Client Differences

[](#notable-client-differences)

The handwritten client offered by this package differs from the others in `google-cloud-php` in that it more directly wraps our generated clients. This means some of the idioms and configuration options you are used to may differ slightly. The most notable differences are outlined below:

- A key file is now provided through the `credentials` configuration option as opposed to either `keyFile` or `keyFilePath`.
- There is now more granular control over retry logic. Please see [the `bigtable_client_config.json` file](https://github.com/googleapis/google-cloud-php/blob/main/Bigtable/src/V2/resources/bigtable_client_config.json)for an example of the configuration which can be passed into the client at construction time.
- Exceptions triggered at the network level utilize the base class `Google\ApiCore\ApiException` as opposed to `Google\Cloud\Core\ServiceException`.
- The `authHttpHandler` and `httpHandler` client configuration options are now provided through `$credentialsConfig['authHttpHandler']`and `$transportConfig['httpHandler']`, respectively. Additionally, please note the `httpHandler` should now return an implementation of [Guzzle's `PromiseInterface`](https://github.com/guzzle/promises/blob/master/src/PromiseInterface.php).

### Authentication

[](#authentication)

Please see our [Authentication guide](https://github.com/googleapis/google-cloud-php/blob/main/AUTHENTICATION.md) for more information on authenticating your client. Once authenticated, you'll be ready to start making requests.

When going through the authentication guide, please take note that the handwritten client for this package will more closely follow the conventions outlined for the generated clients.

### Sample

[](#sample)

```
use Google\ApiCore\ApiException;
use Google\Cloud\Bigtable\V2\Client\BigtableClient;
use Google\Cloud\Bigtable\V2\PingAndWarmRequest;
use Google\Cloud\Bigtable\V2\PingAndWarmResponse;

// Create a client.
$bigtableClient = new BigtableClient();

// Prepare the request message.
$request = (new PingAndWarmRequest())
    ->setName($formattedName);

// Call the API and handle any network failures.
try {
    /** @var PingAndWarmResponse $response */
    $response = $bigtableClient->pingAndWarm($request);
    printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
} catch (ApiException $ex) {
    printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
}
```

### Debugging

[](#debugging)

Please see our [Debugging guide](https://github.com/googleapis/google-cloud-php/blob/main/DEBUG.md)for more information about the debugging tools.

### Version

[](#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.

Please see the [migration guide](./MIGRATING.md) to upgrade from **V1** of the library to **V2**.

### Next Steps

[](#next-steps)

Take a look at and understand the [official documentation](https://cloud.google.com/bigtable/docs).

###  Health Score

68

—

FairBetter than 99% of packages

Maintenance91

Actively maintained with recent releases

Popularity45

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Total

152

Last Release

42d ago

Major Versions

v0.15.0 → v1.0.02019-08-29

v1.32.1 → v2.0.0-RC12024-06-03

v1.32.2 → v2.2.12024-09-07

1.28.x-dev → v2.4.02024-09-23

PHP version history (3 changes)v1.22.1PHP &gt;=7.4

v1.30.3PHP ^8.0

v2.15.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8713415b20b4be4cec8f8b22741e3cd05f76eee9e38de1de5bf32727349b7c5?d=identicon)[bshaffer](/maintainers/bshaffer)

![](https://www.gravatar.com/avatar/3901206952845568d7557a60855b097f6d1bafaa7a24020cfcf5bb8de74f9d28?d=identicon)[google-cloud](/maintainers/google-cloud)

---

Top Contributors

[![release-please[bot]](https://avatars.githubusercontent.com/in/40688?v=4)](https://github.com/release-please[bot] "release-please[bot] (94 commits)")[![gcf-owl-bot[bot]](https://avatars.githubusercontent.com/in/99011?v=4)](https://github.com/gcf-owl-bot[bot] "gcf-owl-bot[bot] (76 commits)")[![bshaffer](https://avatars.githubusercontent.com/u/103941?v=4)](https://github.com/bshaffer "bshaffer (48 commits)")[![yoshi-automation](https://avatars.githubusercontent.com/u/44816363?v=4)](https://github.com/yoshi-automation "yoshi-automation (45 commits)")[![jdpedrie](https://avatars.githubusercontent.com/u/89034?v=4)](https://github.com/jdpedrie "jdpedrie (39 commits)")[![dwsupplee](https://avatars.githubusercontent.com/u/2079879?v=4)](https://github.com/dwsupplee "dwsupplee (24 commits)")[![michaelbausor](https://avatars.githubusercontent.com/u/14846209?v=4)](https://github.com/michaelbausor "michaelbausor (12 commits)")[![vishwarajanand](https://avatars.githubusercontent.com/u/7369612?v=4)](https://github.com/vishwarajanand "vishwarajanand (5 commits)")[![dpebot](https://avatars.githubusercontent.com/u/19979279?v=4)](https://github.com/dpebot "dpebot (3 commits)")[![yash30201](https://avatars.githubusercontent.com/u/54198301?v=4)](https://github.com/yash30201 "yash30201 (3 commits)")[![mackenziestarr](https://avatars.githubusercontent.com/u/6363360?v=4)](https://github.com/mackenziestarr "mackenziestarr (2 commits)")[![ava12](https://avatars.githubusercontent.com/u/1997053?v=4)](https://github.com/ava12 "ava12 (2 commits)")[![chingor13](https://avatars.githubusercontent.com/u/32483?v=4)](https://github.com/chingor13 "chingor13 (2 commits)")[![saranshdhingra](https://avatars.githubusercontent.com/u/1038319?v=4)](https://github.com/saranshdhingra "saranshdhingra (2 commits)")[![WeiranFang](https://avatars.githubusercontent.com/u/8175562?v=4)](https://github.com/WeiranFang "WeiranFang (2 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")[![danielgsims](https://avatars.githubusercontent.com/u/695933?v=4)](https://github.com/danielgsims "danielgsims (1 commits)")[![SurferJeffAtGoogle](https://avatars.githubusercontent.com/u/11778530?v=4)](https://github.com/SurferJeffAtGoogle "SurferJeffAtGoogle (1 commits)")[![sushanb](https://avatars.githubusercontent.com/u/15026232?v=4)](https://github.com/sushanb "sushanb (1 commits)")[![vam-google](https://avatars.githubusercontent.com/u/25311427?v=4)](https://github.com/vam-google "vam-google (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/google-cloud-bigtable/health.svg)

```
[![Health](https://phpackages.com/badges/google-cloud-bigtable/health.svg)](https://phpackages.com/packages/google-cloud-bigtable)
```

###  Alternatives

[google/cloud-firestore

Cloud Firestore Client for PHP

1814.3M31](/packages/google-cloud-firestore)[google/cloud-translate

Cloud Translation Client for PHP

20316.9M99](/packages/google-cloud-translate)[google/cloud-datastore

Cloud Datastore Client for PHP

241.2M22](/packages/google-cloud-datastore)[google/cloud-pubsub

Cloud PubSub Client for PHP

9018.2M72](/packages/google-cloud-pubsub)[google/cloud-bigquery

BigQuery Client for PHP

8918.5M49](/packages/google-cloud-bigquery)[google/cloud-spanner

Cloud Spanner Client for PHP

20582.1k6](/packages/google-cloud-spanner)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
