# googleapis/google-cloud-php

Google Cloud Client Library for PHP

Repository: https://github.com/googleapis/google-cloud-php
Canonical: https://ross.abutalabs.com/products/google-cloud-php
Homepage: https://cloud.google.com/php/docs/reference
Language: PHP
License: Apache-2.0
License Family: permissive
Topics: php, google-cloud-platform
Last push: 2026-09-03T01:59:47+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 100, release rhythm 88, longevity 100
- inputs: {"age_days": 3986, "days_push": 0, "days_rel": 1, "gap_med": 7, "n_releases_24m": 90}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1182, forks 464 (observed 2026-09-03T02:15:12.450624+00:00)

## What it is
The official Google Cloud Client Library for PHP, providing idiomatic PHP clients for Google Cloud Platform services such as Storage, BigQuery, Datastore, and Translate. It is a monorepo of component packages installable via Composer, with built-in authentication via Application Default Credentials.

## Use cases
- upload and download files to Google Cloud Storage from PHP
- run BigQuery queries from a PHP application
- translate text using Google Cloud Translation API in PHP
- authenticate PHP apps against Google Cloud services
- use Google Cloud Datastore or Pub/Sub from PHP

## When to choose
- you are building a PHP application on Google Cloud Platform
- you need official, maintained clients for GCP APIs in PHP
- you want idiomatic PHP abstractions over raw REST APIs

## When to avoid
- you need Google APIs not covered by Cloud Client Libraries (use google-api-php-client)
- you are not using PHP
- you only need lightweight REST calls and prefer hand-rolled HTTP clients

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, auth, database-driver, api-framework
- domain: cloud-computing, apis, developer-tools, backend
- platform: php, cross-platform
- tags: google-cloud, gcp, client-library, composer, php-sdk

## Member repositories
- googleapis/google-cloud-php (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:12.450624+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:25:11.156244+00:00, confidence not recorded.
  - readme: https://github.com/googleapis/google-cloud-php (fetched 2026-09-03T02:15:12.450624+00:00, sha 36c467467595)
  - homepage: https://cloud.google.com/php/docs/reference (fetched 2026-08-29T12:31:54.214185+00:00, sha 554d2131c6d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
