PHPackages                             metglobal/gcp-rest-guzzle-adapter - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. metglobal/gcp-rest-guzzle-adapter

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

metglobal/gcp-rest-guzzle-adapter
=================================

Simple Guzzle adapter to Google Cloud Platform REST endpoints

v1.0.2(9y ago)02.3k12MITPHPPHP &gt;=5.6

Since Apr 24Pushed 6y agoCompare

[ Source](https://github.com/metglobal-compass/gcp-rest-guzzle-adapter)[ Packagist](https://packagist.org/packages/metglobal/gcp-rest-guzzle-adapter)[ RSS](/packages/metglobal-gcp-rest-guzzle-adapter/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (8)Used By (2)

### Simple Guzzle adapter to Google Cloud Platform REST APIs

[](#simple-guzzle-adapter-to-google-cloud-platform-rest-apis)

##### Use Case

[](#use-case)

Accessing to Google Cloud Platform Rest APIs using Service Account Credentials (Google's recommended way)

For more information about authentication:

#### Usage

[](#usage)

```
use \GcpRestGuzzleAdapter\Client\ClientFactory;

// Service Account Email
$email = 'pubsub@test-project123.iam.gserviceaccount.com';

// Private Key
$key = '-----BEGIN PRIVATE KEY-----SDADAavaf...-----END PRIVATE KEY-----';

// Scope of Google Cloud Service
$scope = 'https://www.googleapis.com/auth/pubsub';

// Full base url of project
$projectBaseUrl = 'https://pubsub.googleapis.com/v1/projects/test-project123/';

$pubSubClient = ClientFactory::createClient($email, $key, $scope, $projectBaseUrl);

$result = $pubSubClient->get(
    sprintf('topics/%s/subscriptions', 'test-topic')
);

var_dump((string)$result->getBody()->getContents());
```

###### Result

[](#result)

```
string(113) "{
  "subscriptions": [
    "projects/test-project123/subscriptions/test_topicSubscriber"
  ]
}
"
```

#### Requirements

[](#requirements)

- php &gt;=5.6
- guzzle 5.3
- firebase/php-jwt 4.0
- apc or apcu for token caching (custom handler also injectable)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~155 days

Recently: every ~190 days

Total

6

Last Release

2575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf45b46ed1e7cb5c86aeafd03889e6cc9e31797b75b95a98afd31419aaf8093a?d=identicon)[burak.bolat](/maintainers/burak.bolat)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/metglobal-gcp-rest-guzzle-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/metglobal-gcp-rest-guzzle-adapter/health.svg)](https://phpackages.com/packages/metglobal-gcp-rest-guzzle-adapter)
```

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.6M18](/packages/xeroapi-xero-php-oauth2)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)

PHPackages © 2026

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