You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Chris 1f608b1c21 Update composer dependencies 6 years ago
..
Capsule Add vendor and .env to make usable 7 years ago
Connectors Update composer dependencies 6 years ago
Console Composer deps update 6 years ago
Events update to laravel 5.7 and try getting autologin saved 7 years ago
Failed Add vendor and .env to make usable 7 years ago
Jobs Composer deps update 6 years ago
BeanstalkdQueue.php Update composer dependencies 6 years ago
CallQueuedClosure.php Composer deps update 6 years ago
CallQueuedHandler.php update to laravel 5.7 and try getting autologin saved 7 years ago
DatabaseQueue.php update to laravel 5.7 and try getting autologin saved 7 years ago
FailingJob.php Add vendor and .env to make usable 7 years ago
InteractsWithQueue.php Add vendor and .env to make usable 7 years ago
InvalidPayloadException.php Add vendor and .env to make usable 7 years ago
LICENSE.md Update composer dependencies 6 years ago
Listener.php Composer deps update 6 years ago
ListenerOptions.php Add vendor and .env to make usable 7 years ago
LuaScripts.php Add vendor and .env to make usable 7 years ago
ManuallyFailedException.php Add vendor and .env to make usable 7 years ago
MaxAttemptsExceededException.php Add vendor and .env to make usable 7 years ago
NullQueue.php Add vendor and .env to make usable 7 years ago
Queue.php Composer deps update 6 years ago
QueueManager.php Add vendor and .env to make usable 7 years ago
QueueServiceProvider.php update to laravel 5.7 and try getting autologin saved 7 years ago
README.md Add vendor and .env to make usable 7 years ago
RedisQueue.php update to laravel 5.7 and try getting autologin saved 7 years ago
SerializableClosure.php update to laravel 5.7 and try getting autologin saved 7 years ago
SerializesAndRestoresModelIdentifiers.php update to laravel 5.7 and try getting autologin saved 7 years ago
SerializesModels.php update to laravel 5.7 and try getting autologin saved 7 years ago
SqsQueue.php update to laravel 5.7 and try getting autologin saved 7 years ago
SyncQueue.php update to laravel 5.7 and try getting autologin saved 7 years ago
Worker.php update to laravel 5.7 and try getting autologin saved 7 years ago
WorkerOptions.php update to laravel 5.7 and try getting autologin saved 7 years ago
composer.json Update composer dependencies 6 years ago

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