Download the PHP package babelqueue/laravel without Composer

On this page you can find all versions of the php package babelqueue/laravel. 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

BabelQueue for Laravel

CI Packagist

Polyglot Queues, Simplified. A drop-in Laravel queue driver that produces a strict, language-agnostic JSON envelope — so Go, Python, Java, .NET and Node.js services can consume your jobs without PHP's serialize().

Laravel's native queue serialises jobs with PHP serialize(), producing an object graph only PHP can read. BabelQueue replaces just the serialization layer with a frozen JSON envelope and URN-based routing, over the broker you already run (Redis or RabbitMQ). No sidecar, no proxy, no broker plugin.

This is the PHP/Laravel SDK. The full cross-language standard and the canonical wire contract are documented at babelqueue.com.


Requirements

Installation

Add a polyglot connection to config/queue.php:

The wire envelope

Every message is encoded as this frozen, schema_version: 1 envelope (full spec at babelqueue.com):

Producing messages

Typed job (primary):

Facade (sugar):

Continuing a trace from a handler? Implement BabelQueue\Contracts\HasTraceId on the downstream job (or pass the traceId argument) and the inbound trace_id is forwarded instead of a new one being minted.

Consuming messages

Map URNs to handlers in config/babelqueue.php:

Run a worker against the polyglot connection like any other:

Unknown URNs

config/babelqueue.php → on_unknown_urn: fail (default) · delete · release · dead_letter.

Dead-letter queue (cross-language)

Enable in config/babelqueue.php:

Permanently-failed (and, with on_unknown_urn => 'dead_letter', unroutable) messages are republished to the DLQ as the same envelope plus an additive dead_letter block (reason, error, failed_at, original_queue, attempts, lang). Because the DLQ is an ordinary queue, any SDK can triage it.

Idempotent consumption (opt-in)

Brokers deliver at least once: a redelivery after a missed ack — or a fan-out — can hand a consumer the same message twice. Enable idempotency to dedupe deliveries on the envelope's canonical per-message identity, meta.id, so a duplicate delivery is a no-op and the first delivery runs the handler exactly once. It is off by default and never changes the wire envelope.

Enable in config/babelqueue.php:

The default backends are Laravel-native and reuse infrastructure you already run:

redis and database are claiming stores: when two workers receive the same meta.id concurrently, exactly one runs the handler and the other parks for redelivery — closing the in-flight window, not just deduping after success.

It binds the php-sdk IdempotencyStore in the container, so you can rebind it to a custom store:

A thrown handler leaves the id unmarked, so retry / DLQ still apply and a later delivery re-runs it. A message with no usable meta.id always runs (fail-open).

Testing

Links

License

MIT © Muhammet Şafak. See LICENSE.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
babelqueue/php-sdk Version ^1.15.0
illuminate/support Version ^11.0|^12.0
illuminate/queue Version ^11.0|^12.0
php-amqplib/php-amqplib Version ^3.7
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 babelqueue/laravel contains the following files

Loading the files please wait ...