PHPackages                             mage-os/mageos-async-events-gcp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mage-os/mageos-async-events-gcp

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

mage-os/mageos-async-events-gcp
===============================

GCP event sinks for mage-os/mageos-async-events

v4.0.3(4mo ago)062MITPHPPHP &gt;=8.1CI passing

Since Jul 22Pushed 1mo ago8 watchersCompare

[ Source](https://github.com/mage-os/mageos-async-events-gcp)[ Packagist](https://packagist.org/packages/mage-os/mageos-async-events-gcp)[ RSS](/packages/mage-os-mageos-async-events-gcp/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

MageOS Async Events GCP
=======================

[](#mageos-async-events-gcp)

GCP event sinks for [mageos-async-events](https://github.com/mage-os/mageos-async-events)

Installation
------------

[](#installation)

```
composer require mage-os/mageos-async-events-gcp
```

Authenticating with Google Cloud Client Libraries
-------------------------------------------------

[](#authenticating-with-google-cloud-client-libraries)

This module relies on Google's PHP Cloud Client Libraries. Each event sink uses a corresponding library to perform requests to Google Cloud.

For more information about the client libraries, please see

As per the [Authentication Guide](https://github.com/googleapis/google-cloud-php/blob/main/AUTHENTICATION.md), the recommended way to authenticate to the Google Cloud PHP library is to use Application Default Credentials (ADC), which discovers your credentials automatically, based on the environment where your code is running.

Application Default Credentials (ADC) typically come in the form of a credential JSON file. This file can include credentials for workload identity federation, workforce identity federation, or a service account key.

There are many ways to obtain an ADC, so you must review and choose a method that fits your use case.

Important

Service account keys can pose a security risk if not managed correctly. Whenever possible, opt for a more secure alternative to service account keys.

To authenticate using different methods, refer to the following guides:

- **Service Account Key:** [Service account key authentication](https://cloud.google.com/docs/authentication/provide-credentials-adc#wlif-key)
- **Workload Identity Federation:** [Workload Identity Federation authentication](https://cloud.google.com/docs/authentication/provide-credentials-adc#wlif)
- **Google Cloud Services:** If your code is running on a supported Google Cloud service such as Compute Engine, you can authenticate by attaching a service account. Read more about [Google Cloud services that support attaching a service account](https://cloud.google.com/docs/authentication/provide-credentials-adc#attached-sa)
- **GKE or GKE Enterprise:** [Containerized authentication](https://cloud.google.com/docs/authentication/provide-credentials-adc#containerized)

GCP event sinks
---------------

[](#gcp-event-sinks)

### Google Pub/Sub

[](#google-pubsub)

**Setup Application Default Credentials (ADC)**

A Service Account with the `Pub/Sub Publisher` role is required so that the notifier can relay events into Google Pub/Sub.

Under `Stores -> Services -> Async Events GCP` set the `ADC Path`.

[![gcp-pubsub-config example](docs/gcp-pubsub-config.png)](docs/gcp-pubsub-config.png)

**Create a Pub/Sub Subscription**

The following is an example to create a Pub/Sub subscription for the `example.event`

```
curl --location --request POST 'https://test.mageos.dev/rest/V1/async_event' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
    "asyncEvent": {
        "event_name": "example.event",
        "recipient_url": "Google Pub/Sub Topic",
        "verification_token": "supersecret",
        "metadata": "pubsub"
    }
}'
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance82

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.6% 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 ~283 days

Total

3

Last Release

145d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/100189073?v=4)[Mage-OS](/maintainers/mage-os-ci)[@mage-os-ci](https://github.com/mage-os-ci)

![](https://www.gravatar.com/avatar/b5df30b202c594ad4af9440fd694c0386b324e4045ca0aeeabb9b6125440e377?d=identicon)[gowrizrh](/maintainers/gowrizrh)

---

Top Contributors

[![mage-os-ci](https://avatars.githubusercontent.com/u/100189073?v=4)](https://github.com/mage-os-ci "mage-os-ci (28 commits)")[![mage-os-terraform[bot]](https://avatars.githubusercontent.com/u/90680490?v=4)](https://github.com/mage-os-terraform[bot] "mage-os-terraform[bot] (1 commits)")

---

Tags

adobecommerceecommercegcpmage-osmagentomagento2

### Embed Badge

![Health badge](/badges/mage-os-mageos-async-events-gcp/health.svg)

```
[![Health](https://phpackages.com/badges/mage-os-mageos-async-events-gcp/health.svg)](https://phpackages.com/packages/mage-os-mageos-async-events-gcp)
```

###  Alternatives

[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k624.1k85](/packages/akeneo-pim-community-dev)

PHPackages © 2026

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