googleapis/google-cloud-php-pubsub — explained in plain English
Analysis updated 2026-07-25 · repo last pushed 2026-06-17
Fire off order messages from checkout so a separate inventory app processes them later.
Collect logs from multiple apps into a central pipeline for later analysis.
Notify a backend service automatically when a user finishes uploading a file.
Wire up event-driven features between decoupled PHP apps running on Google Cloud.
| googleapis/google-cloud-php-pubsub | nunomaduro/plack.app | likeyun/personal-dwz | |
|---|---|---|---|
| Stars | 91 | 81 | 76 |
| Language | PHP | PHP | PHP |
| Last pushed | 2026-06-17 | — | 2022-11-28 |
| Maintenance | Maintained | — | Dormant |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires a Google Cloud account with authentication credentials configured, plus Composer for installation.
This repo gives PHP developers a ready-made way to connect their applications to Google Cloud Pub/Sub, which is a service that lets independent programs send and receive messages in real time. Think of it like a postal system for your software: one app drops off a message, and another app picks it up, even if they are running at different times or on different servers. The library handles the connection details so developers can focus on their app logic. At a high level, the library provides a set of PHP tools that talk to Google's servers on your behalf. A developer installs it using Composer (a standard PHP package manager), sets up authentication so Google knows who is asking, and then uses the provided client classes to create topics and publish or receive messages. It supports two communication styles: a standard web-based one and a faster option called gRPC that enables streaming, which is useful for continuous flows of data. This is built for PHP developers whose apps need to communicate asynchronously. For example, an e-commerce site might use it so that when a customer places an order, the checkout app immediately fires off a message that a separate inventory app processes a moment later. The two apps stay decoupled, meaning the checkout process stays fast even if the inventory system is busy. Teams already building on Google Cloud would reach for this to wire up event-driven features like order processing, log collection, or notifying a service when a file upload finishes. The project is marked as generally available, meaning Google considers it stable and won't break existing code in minor updates. It is actually one piece of a larger Google Cloud PHP collection, so bug reports and contributions go through that parent project. The README points to separate guides for authentication, debugging, and upgrading from the older V1 version to the current V2.
A PHP library that lets apps send and receive messages through Google Cloud Pub/Sub, a real-time messaging service. It handles the connection details so developers can focus on their app logic.
Mainly PHP. The stack also includes PHP, Composer, Google Cloud Pub/Sub.
Maintained — commit in last 6 months (last push 2026-06-17).
This repo is part of the Google Cloud PHP collection and is generally available, but the explanation does not specify a particular license.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.