xiansin 942a3c1adf init vor 2 Jahren
..
Capsule 942a3c1adf init vor 2 Jahren
Connectors 942a3c1adf init vor 2 Jahren
Console 942a3c1adf init vor 2 Jahren
Events 942a3c1adf init vor 2 Jahren
Failed 942a3c1adf init vor 2 Jahren
Jobs 942a3c1adf init vor 2 Jahren
Middleware 942a3c1adf init vor 2 Jahren
BeanstalkdQueue.php 942a3c1adf init vor 2 Jahren
CallQueuedClosure.php 942a3c1adf init vor 2 Jahren
CallQueuedHandler.php 942a3c1adf init vor 2 Jahren
DatabaseQueue.php 942a3c1adf init vor 2 Jahren
InteractsWithQueue.php 942a3c1adf init vor 2 Jahren
InvalidPayloadException.php 942a3c1adf init vor 2 Jahren
LICENSE.md 942a3c1adf init vor 2 Jahren
Listener.php 942a3c1adf init vor 2 Jahren
ListenerOptions.php 942a3c1adf init vor 2 Jahren
LuaScripts.php 942a3c1adf init vor 2 Jahren
ManuallyFailedException.php 942a3c1adf init vor 2 Jahren
MaxAttemptsExceededException.php 942a3c1adf init vor 2 Jahren
NullQueue.php 942a3c1adf init vor 2 Jahren
Queue.php 942a3c1adf init vor 2 Jahren
QueueManager.php 942a3c1adf init vor 2 Jahren
QueueServiceProvider.php 942a3c1adf init vor 2 Jahren
README.md 942a3c1adf init vor 2 Jahren
RedisQueue.php 942a3c1adf init vor 2 Jahren
SerializableClosure.php 942a3c1adf init vor 2 Jahren
SerializableClosureFactory.php 942a3c1adf init vor 2 Jahren
SerializesAndRestoresModelIdentifiers.php 942a3c1adf init vor 2 Jahren
SerializesModels.php 942a3c1adf init vor 2 Jahren
SqsQueue.php 942a3c1adf init vor 2 Jahren
SyncQueue.php 942a3c1adf init vor 2 Jahren
Worker.php 942a3c1adf init vor 2 Jahren
WorkerOptions.php 942a3c1adf init vor 2 Jahren
composer.json 942a3c1adf init vor 2 Jahren

README.md

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', ['message' => $message]);

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

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