The Illuminate Queue package.

Maintainers

👁 taylorotwell

Package info

github.com/illuminate/queue

Homepage

Issues

pkg:composer/illuminate/queue

Statistics

Installs: 32 412 065

Dependents: 1 448

Suggesters: 40

Stars: 204

v13.16.1 2026-06-15 15:15 UTC

Requires (Dev)

None

Suggests

  • ext-filter: Required to use the SQS queue worker.
  • ext-mbstring: Required to use the database failed job providers.
  • ext-pcntl: Required to use all features of the queue worker.
  • ext-pdo: Required to use the database queue worker.
  • ext-posix: Required to use all features of the queue worker.
  • aws/aws-sdk-php: Required to use the SQS queue driver and DynamoDb failed job storage (^3.322.9).
  • illuminate/redis: Required to use the Redis queue driver (^13.0).
  • pda/pheanstalk: Required to use the Beanstalk queue driver (^7.0 || ^8.0).

Provides

None

Conflicts

None

Replaces

None

MIT d168503d50aa869bdf2865c5bcff007046ca2052

  • Taylor Otwell <taylor.woop@laravel.com>

This package is auto-updated.

Last update: 2026-06-16 16:09:01 UTC


README

The Laravel Queue component provides a unified API across a variety of different queue services. Queues allow you to defer the processing of a time consuming task, such as sending an e-mail, until a later time, thus drastically speeding up the web requests to your application.

Usage Instructions

First, create a new Queue Capsule manager instance. Similar to the "Capsule" provided for the Eloquent ORM, the queue Capsule aims to make configuring the library for usage outside of the Laravel framework as easy as possible.

use Illuminate\Queue\Capsule\Manager as Queue;

$queue = new Queue;

$queue->addConnection([
 'driver' => 'beanstalkd',
 'host' => 'localhost',
 'queue' => 'default',
]);

// Make this Capsule instance available globally via static methods... (optional)
$queue->setAsGlobal();

Once the Capsule instance has been registered. You may use it like so:

// As an instance...
$queue->push('SendEmail', ['message' => $message]);

// If setAsGlobal has been called...
Queue::push('SendEmail', ['message' => $message]);

For further documentation on using the queue, consult the Laravel framework documentation.