Download the PHP package sysmatter/laravel-google-pubsub without Composer

On this page you can find all versions of the php package sysmatter/laravel-google-pubsub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-google-pubsub

Laravel Google Pub/Sub Packaged Moved -> offload-project/laravel-google-pubsub

A comprehensive Google Cloud Pub/Sub integration for Laravel that goes beyond basic queue functionality. This package provides a complete toolkit for building event-driven architectures, microservice communication, and real-time data pipelines.

Features

Table of Contents

Requirements

Installation

Install the package via Composer:

Publish the configuration file:

Basic Configuration

Environment Variables

Add the following to your .env file:

Queue Configuration

Update your config/queue.php:

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

Performance Tips

1. Use Streaming Subscribers for Real-time Processing

Streaming subscribers provide lower latency and better throughput:

2. Enable Message Ordering Only When Necessary

Ordering reduces throughput, use it selectively:

3. Set Appropriate Timeouts for Job Processing

Match acknowledgment deadlines to your processing time:

4. Monitor Dead Letter Topics for Failed Messages

Set up automated monitoring:

5. Use Compression for Large Payloads

Automatic compression for messages over 1KB:

6. Batch Publishing for High Volume

Reduce API calls with batch publishing:

7. Connection Pooling with Octane

Laravel Octane automatically reuses connections:

Troubleshooting

Connection Errors

Verify your Google Cloud project ID

Check service account permissions

Ensure Pub/Sub API is enabled

Message Delivery Issues

Check subscription acknowledgment settings

Verify topic and subscription names

Monitor dead letter topics

Performance Issues

Adjust max_messages and ack_deadline settings

Use streaming subscribers for high throughput

Consider message batching for publishing

Memory Issues

Large Message Handling

Queue Worker Memory Limits

Authentication Issues

Application Default Credentials

Service Account Key File

Debugging Tools

Enable Debug Logging

Message Inspector

Test Publishing

Health Check

Common Error Messages

"Permission denied"

"Resource not found"

"Deadline exceeded"

"Invalid message format"

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-google-pubsub with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sysmatter/laravel-google-pubsub contains the following files

Loading the files please wait ...