Download the PHP package mrfelipemartins/oxide-laravel without Composer
On this page you can find all versions of the php package mrfelipemartins/oxide-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrfelipemartins/oxide-laravel
More information about mrfelipemartins/oxide-laravel
Files in mrfelipemartins/oxide-laravel
Package oxide-laravel
Short Description Laravel queue driver for Oxide.
License MIT
Informations about the package oxide-laravel
Oxide Laravel
Laravel queue driver for Oxide, built on top of mrfelipemartins/oxide-php.
This package registers an oxide queue connector, so Laravel can dispatch, delay, retry, fail, monitor, and clear jobs through the normal queue APIs.
Requirements
- PHP 8.2+
- Laravel 12 or 13
- A running Oxide server
Installation
Publish the optional defaults file:
Configuration
Add an Oxide connection to config/queue.php:
Then set:
The published config/oxide-queue.php file contains the full set of defaults for stream creation, claim batching, acknowledgement batching, timeouts, and worker behavior. Values in config/queue.php override those defaults for that connection.
Usage
Dispatch jobs exactly as you would with any Laravel queue connection:
Run workers with Laravel's queue commands:
Job Metadata
Laravel payloads are stored unchanged. The driver derives Oxide metadata from normal Laravel payload fields:
uuidis used as the Oxide idempotency key.retryUntilis used as the Oxide deadline.maxTriesand the firstbackoffvalue are used for the Oxide retry policy.retry_afteris used as the claim lease / TTR.
Jobs can optionally provide Oxide-specific metadata:
Behavior Notes
- Oxide delivery is at-least-once, so jobs should be idempotent.
- Laravel failed-job storage remains Laravel-owned.
- When Laravel finally fails a job, the Oxide work item is acknowledged and removed.
- With
--queue=high,default, only the first queue uses blocking waits; secondary queues are polled so priority order stays predictable. queue:clearremoves ready, delayed, and claimed jobs by default. Stop workers before clearing if you do not want running jobs removed, or setclear_claimed=false.
Testing
All versions of oxide-laravel with dependencies
illuminate/queue Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
mrfelipemartins/oxide-php Version ^0.1
psr/log Version ^3.0