Download the PHP package offload-project/laravel-google-pubsub without Composer
On this page you can find all versions of the php package offload-project/laravel-google-pubsub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download offload-project/laravel-google-pubsub
More information about offload-project/laravel-google-pubsub
Files in offload-project/laravel-google-pubsub
Package laravel-google-pubsub
Short Description Google Cloud Pub/Sub for Laravel with full feature support
License MIT
Homepage https://github.com/offload-project/laravel-google-pubsub
Informations about the package laravel-google-pubsub
Laravel Google Pub/Sub
A comprehensive Google Cloud Pub/Sub integration for Laravel that goes beyond a basic queue driver — a complete toolkit for event-driven architectures, microservice communication, and real-time data pipelines.
Features
- Full Laravel queue driver — drop-in replacement for any other queue connection
- Publisher / Subscriber services — direct publishing with compression, metadata, and batch support
- Event integration — bidirectional flow between Laravel events and Pub/Sub topics
- Webhook support — handle push subscriptions with built-in IP allowlist and token verification
- Schema validation — JSON Schema validation for message contracts
- Streaming support — real-time, lower-latency processing with StreamingPull
- CloudEvents support — industry-standard event formatting with v1.0 compatibility
- Dead-letter topics & retry policies — auto-wired for resilient message delivery
- Emulator support — local development with the Google Cloud Pub/Sub emulator
- Laravel Octane compatible — connection pooling and warm bindings
- Rich Artisan command set — manage topics, subscriptions, publishing, and listening from the CLI
Table of Contents
- Requirements
- Installation
- Quick Start
- Basic Queue Usage
- Direct Publishing
- Event Integration
- Subscribing to Messages
- Full Documentation
- AI Coding Assistant Skill
- Testing
- Contributing
- Security
- License
Requirements
- PHP 8.3+
- Laravel 11 / 12 / 13
- A Google Cloud project with the Pub/Sub API enabled (or the Pub/Sub emulator for local development)
Installation
Add the basics to your .env:
Then add a pubsub connection to config/queue.php:
See the Configuration reference for every option.
Quick Start
1. Basic Queue Usage
Use it exactly like any other Laravel queue:
2. Direct Publishing
3. Event Integration
4. Subscribing to Messages
Full Documentation
- Installation
- Configuration — every config key, with defaults
- Queue Driver
- Publisher & Subscriber
- Event Integration
- Webhooks (Push Subscriptions)
- Message Schemas and Validation
- CloudEvents
- Artisan Commands
- Monitoring & Debugging — performance tuning and troubleshooting
- Testing
- Examples
AI Coding Assistant Skill
This package ships a Laravel Boost skill so coding assistants (Claude Code, Cursor, etc.) follow the package's conventions when generating code. Install it in your app with:
The skill source lives at skills/SKILL.md.
Testing
Contributing
Contributions are welcome! Please see the documents below before getting started.
- Contributing Guide — setup, workflow, commit conventions, and PR process
- Code of Conduct — expectations for participation in this project
Security
- Security Policy — how to report a vulnerability privately
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-google-pubsub with dependencies
ext-zlib Version *
google/cloud-pubsub Version ^2.16
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/queue Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
opis/json-schema Version ^2.6