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.2k↓50%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 1mo ago

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 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

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

2527d 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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[bigcommerce/api

Enables PHP applications to communicate with the Bigcommerce API.

1501.1M8](/packages/bigcommerce-api)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)

PHPackages © 2026

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