Search by

grokability / massdriver

bwetherington

Laravel Queue client for Massdriver Server

Package info

github.com/grokability/massdriver

pkg:composer/grokability/massdriver

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2 2026-09-14 13:23 UTC

This package is auto-updated.

Last update: 2026-09-14 14:51:25 UTC


README

A thin Laravel queue driver that wraps an existing queue connection (Right now, it only works with SQS) and stamps every message with a tenant's MessageGroupId.

Installation

composer require grokability/massdriver

The service provider registers itself via Laravel's package auto-discovery.

Configuration

Publish the config file if you want to override the defaults:

php artisan vendor:publish --tag=massdriver-config

Set these in your .env:

MASSDRIVER_CONNECTION=sqs
MASSDRIVER_TENANT=your-tenant-id

MASSDRIVER_CONNECTION names an existing queue connection (already defined under queue.connections in your app's config/queue.php) for Massdriver to wrap — sqs is the only one that works as of now, but other connections should be possible. MASSDRIVER_TENANT is required; every message pushed through the massdriver connection gets MessageGroupId set to this value, and Massdriver throws if something else already set a conflicting MessageGroupId on the same message.

Usage

Set massdriver as a queue connection, either as the default:

QUEUE_CONNECTION=massdriver

or per-job/per-queue as you would any other Laravel queue connection.

You will need to run a Massdriver Server to consume these queued messages - that's available at https://github.com/grokability/massdriver-server