Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report

illuminate/queue v10.43.0

The Illuminate Queue package.
Package summary
Share
0
issues
0
licenses
Package created
7 Dec 2012
Version published
17 Jan 2024
Maintainers
1
Total deps
0
Direct deps
0
License
MIT
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does illuminate/queue do?

Illuminate/Queue is a component of Laravel that provides a unified API for different queue services. It allows you to defer time-consuming tasks, such as sending emails, to a later time. This can significantly speed up web requests to your application, since these tasks will be handled in the background and won't block the immediate processing of your application.

How do you use illuminate/queue?

To use the Illuminate/Queue package, you must first create a new Queue Capsule manager instance. This configuration is intended to make the library usage outside of Laravel as simple as possible. Below is a simple usage example in PHP:

use Illuminate\Queue\Capsule\Manager as Queue;

$queue = new Queue;

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

$queue->setAsGlobal(); // This makes the Capsule instance available globally via static methods. This is optional.

Once the Capsule instance has been registered, you can use it like this:

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

Queue::push('SendEmail', ['message' => $message]); // global static method usage

Where are the illuminate/queue docs?

The Illuminate/Queue documentation can be found within the Laravel framework documentation. For comprehensive details about Illuminate/Queue and how to use it, refer to Laravel's official documentation, which is available at https://laravel.com/docs.