# Google APIs PHP Client

A PHP client library for accessing Google APIs

Repository: https://github.com/googleapis/google-api-php-client
Canonical: https://ross.abutalabs.com/products/google-apis-php-client
Homepage: http://googleapis.github.io/google-api-php-client/
Language: PHP
License: Apache-2.0
License Family: permissive
Last push: 2026-06-29T08:13:49+00:00
Link (homepage): http://googleapis.github.io/google-api-php-client/

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 78, longevity 100
- inputs: {"age_days": 4765, "days_push": 65, "days_rel": 65, "gap_med": 55, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9806, forks 3538 (observed 2026-08-28T04:10:37.289877+00:00)

## What it is
The official Google APIs client library for PHP, enabling server-side access to Google APIs such as Gmail, Drive, and YouTube. It is complete and in maintenance mode, receiving only critical bug and security fixes.

## Use cases
- send email via gmail api from php
- upload files to google drive from a php server
- fetch youtube data in php
- authenticate with google oauth in php
- call google apis from a php backend

## When to choose
- you need to access consumer Google APIs like Gmail, Drive, or YouTube from PHP
- you want an officially supported Google client library for PHP 8+
- you are maintaining an existing PHP integration with Google APIs

## When to avoid
- you are working with Google Cloud Platform APIs like Cloud Storage or Pub/Sub - use the google-cloud-php libraries instead
- you need new features or support for newly released API surfaces
- you are not using PHP

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, sdk, auth
- domain: apis, developer-tools, web-development
- platform: php
- tags: google-apis, oauth, gmail-api, youtube-api, drive-api, composer, official-client, web-server

## Member repositories
- googleapis/google-api-php-client (main) score 88
- googleapis/google-api-php-client-services (sdk) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:37.289877+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-29T17:20:58.350333+00:00, confidence not recorded.
  - readme: https://github.com/googleapis/google-api-php-client (fetched 2026-08-28T04:10:37.289877+00:00, sha ca41238d5d95)
  - homepage: http://googleapis.github.io/google-api-php-client/ (fetched 2026-08-29T08:20:32.822827+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
