Download Latest Version textfile.zip (202 Bytes)
Email in envelope

Get an email when there's a new version of Laravel

Name Modified Size InfoDownloads / Week
Parent folder
Console 2017-07-31
Jobs 2017-07-31
Failed 2017-07-31
Connectors 2017-07-31
Events 2017-07-31
Capsule 2017-07-31
composer.json 2017-07-31 1.3 kB
WorkerOptions.php 2017-07-31 1.4 kB
SyncQueue.php 2017-07-31 4.0 kB
Worker.php 2017-07-31 18.1 kB
SqsQueue.php 2017-07-31 3.7 kB
SerializesAndRestoresModelIdentifiers.php 2017-07-31 2.2 kB
SerializesModels.php 2017-07-31 1.3 kB
RedisQueue.php 2017-07-31 6.9 kB
README.md 2017-07-31 1.2 kB
QueueServiceProvider.php 2017-07-31 5.9 kB
QueueManager.php 2017-07-31 6.4 kB
NullQueue.php 2017-07-31 1.4 kB
Queue.php 2017-07-31 4.6 kB
ManuallyFailedException.php 2017-07-31 125 Bytes
MaxAttemptsExceededException.php 2017-07-31 130 Bytes
LuaScripts.php 2017-07-31 3.0 kB
ListenerOptions.php 2017-07-31 753 Bytes
InvalidPayloadException.php 2017-07-31 375 Bytes
Listener.php 2017-07-31 6.4 kB
InteractsWithQueue.php 2017-07-31 1.4 kB
InteractsWithTime.php 2017-07-31 1.1 kB
DatabaseQueue.php 2017-07-31 8.5 kB
FailingJob.php 2017-07-31 1.4 kB
BeanstalkdQueue.php 2017-07-31 3.9 kB
CallQueuedHandler.php 2017-07-31 2.4 kB
Totals: 31 Items   87.7 kB 0

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;

$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', 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.

Source: README.md, updated 2017-07-31