[READ ONLY] Subtree split of the Illuminate Queue component (see laravel/framework)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Capsule All queues support DateInterface, DateInterval and int (#20596) Aug 16, 2017
Connectors [5.6] Passes `token` configuration value to AWS Client (#24746) Jul 4, 2018
Console Standardize the console commands help output (#24432) Jun 4, 2018
Events Add exit status to WorkStopping event. (#24476) Jun 6, 2018
Failed Update docblock to match expectations (#21031) Sep 6, 2017
Jobs formatting Sep 21, 2017
BeanstalkdQueue.php All queues support DateInterface, DateInterval and int (#20596) Aug 16, 2017
CallQueuedHandler.php Simplify class_uses_recursive() uses (#24931) Jul 23, 2018
DatabaseQueue.php Merge branch '5.5' into 5.6 Jan 6, 2018
FailingJob.php Using `dispatch` instead of `fire` according to \Illuminate\Contracts… Aug 6, 2017
InteractsWithQueue.php Apply fixes from StyleCI (#17033) Dec 28, 2016
InvalidPayloadException.php Extract some queue logic. Dec 29, 2016
Listener.php [5.6] Update queue worker memory usage to use the "real" amount of me… Aug 15, 2018
ListenerOptions.php Add missing return docblocks (#22116) Nov 17, 2017
LuaScripts.php Return migrated jobs for customization. Jan 21, 2017
ManuallyFailedException.php Some basic formatting and cleanup surrounding Beanstalk job and contr… Dec 28, 2016
MaxAttemptsExceededException.php add files Sep 7, 2016
NullQueue.php All queues support DateInterface, DateInterval and int (#20596) Aug 16, 2017
Queue.php fix conflicts Mar 21, 2018
QueueManager.php Mixin magic methods (#20229) Jul 24, 2017
QueueServiceProvider.php Beginning cleaning queue component. Dec 28, 2016
README.md Update laravel urls with https (#14629) Aug 5, 2016
RedisQueue.php return early if eval call failed (read timeout) (#25020) Jul 31, 2018
SerializesAndRestoresModelIdentifiers.php fixes an issue where delayed jobs in L5.5 fail to run in L5.6 due to … Feb 25, 2018
SerializesModels.php use array values Jan 23, 2018
SqsQueue.php fix sqs queue for 7.2 (#22374) Dec 9, 2017
SyncQueue.php All queues support DateInterface, DateInterval and int (#20596) Aug 16, 2017
Worker.php Merge branch '5.6' into 5.7 Aug 20, 2018
WorkerOptions.php Add missing return docblocks (#22116) Nov 17, 2017
composer.json [5.8] Bumped Laravel version to 5.8 (#25057) Aug 3, 2018


Illuminate Queue

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;

    'driver' => 'beanstalkd',
    'host' => 'localhost',
    'queue' => 'default',

// Make this Capsule instance available globally via static methods... (optional)

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

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

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

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