PHPackages                             tatilcom/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. tatilcom/gcp-rest-guzzle-adapter

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

tatilcom/gcp-rest-guzzle-adapter
================================

Simple Guzzle adapter to Google Cloud Platform REST endpoints

v1.0.2(9y ago)01.3k↓88.2%MITPHPPHP &gt;=5.6

Since Apr 24Pushed 2y agoCompare

[ Source](https://github.com/tatilcom/gcp-rest-guzzle-adapter)[ Packagist](https://packagist.org/packages/tatilcom/gcp-rest-guzzle-adapter)[ RSS](/packages/tatilcom-gcp-rest-guzzle-adapter/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (7)Used By (0)

### 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

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

2579d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/882625c80dc3522d323100173b4f0831c9938b08439f142a3c3a4f9dfdfabb11?d=identicon)[tatilcom](/maintainers/tatilcom)

---

Top Contributors

[![tnhnclskn](https://avatars.githubusercontent.com/u/20466642?v=4)](https://github.com/tnhnclskn "tnhnclskn (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M886](/packages/laravel-socialite)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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