• Stars
    star
    198
  • Rank 196,898 (Top 4 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 12 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[READ ONLY] Subtree split of the Illuminate Queue component (see laravel/framework)

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.

More Repositories

1

database

[READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)
PHP
2,666
star
2

contracts

[READ ONLY] Subtree split of the Illuminate Contracts component (see laravel/framework)
PHP
673
star
3

support

[READ ONLY] Subtree split of the Illuminate Support component (see laravel/framework)
PHP
561
star
4

html

[READ ONLY] Subtree split of the Illuminate HTML component (see laravel/framework)
PHP
364
star
5

container

[READ ONLY] Subtree split of the Illuminate Container component (see laravel/framework)
PHP
306
star
6

collections

[READ ONLY] Subtree split of the Illuminate Collections component (see laravel/framework)
PHP
226
star
7

validation

[READ ONLY] Subtree split of the Illuminate Validation component (see laravel/framework)
PHP
173
star
8

filesystem

[READ ONLY] Subtree split of the Illuminate Filesystem component (see laravel/framework)
PHP
149
star
9

events

[READ ONLY] Subtree split of the Illuminate Events component (see laravel/framework)
PHP
130
star
10

cache

[READ ONLY] Subtree split of the Illuminate Cache component (see laravel/framework)
PHP
127
star
11

view

[READ ONLY] Subtree split of the Illuminate View component (see laravel/framework)
PHP
125
star
12

console

[READ ONLY] Subtree split of the Illuminate Console component (see laravel/framework)
PHP
120
star
13

routing

[READ ONLY] Subtree split of the Illuminate Routing component (see laravel/framework)
PHP
117
star
14

http

[READ ONLY] Subtree split of the Illuminate Http component (see laravel/framework)
PHP
115
star
15

config

[READ ONLY] Subtree split of the Illuminate Config component (see laravel/framework)
PHP
107
star
16

pagination

[READ ONLY] Subtree split of the Illuminate Pagination component (see laravel/framework)
PHP
101
star
17

session

[READ ONLY] Subtree split of the Illuminate Session component (see laravel/framework)
PHP
99
star
18

auth

[READ ONLY] Subtree split of the Illuminate Auth component (see laravel/framework)
PHP
90
star
19

pipeline

[READ ONLY] Subtree split of the Illuminate Pipeline component (see laravel/framework)
PHP
89
star
20

encryption

[READ ONLY] Subtree split of the Illuminate Encryption component (see laravel/framework)
PHP
87
star
21

redis

[READ ONLY] Subtree split of the Illuminate Redis component (see laravel/framework)
PHP
84
star
22

conditionable

PHP
76
star
23

broadcasting

[READ ONLY] Subtree split of the Illuminate Broadcasting component (see laravel/framework)
PHP
68
star
24

macroable

[READ ONLY] Subtree split of the Illuminate Macroable component (see laravel/framework)
PHP
68
star
25

translation

[READ ONLY] Subtree split of the Illuminate Translation component (see laravel/framework)
PHP
68
star
26

hashing

[READ ONLY] Subtree split of the Illuminate Hashing component (see laravel/framework)
PHP
63
star
27

log

[READ ONLY] Subtree split of the Illuminate Log component (see laravel/framework)
PHP
62
star
28

mail

[READ ONLY] Subtree split of the Illuminate Mail component (see laravel/framework)
PHP
60
star
29

bus

[READ ONLY] Subtree split of the Illuminate Bus component (see laravel/framework)
PHP
58
star
30

notifications

[READ ONLY] Subtree split of the Illuminate Notifications component (see laravel/framework)
PHP
49
star
31

process

PHP
45
star
32

socialite

A simple library for OAuth 2 authentication.
PHP
43
star
33

testing

[READ ONLY] Subtree split of the Illuminate Testing component (see laravel/framework)
PHP
33
star
34

workbench

[READ ONLY] Subtree split of the Illuminate Workbench component (see laravel/framework)
PHP
31
star
35

cookie

[READ ONLY] Subtree split of the Illuminate Cookie component (see laravel/framework)
PHP
22
star
36

exception

[READ ONLY] Subtree split of the Illuminate Exception component (see laravel/framework)
PHP
21
star
37

remote

[READ ONLY] Subtree split of the Illuminate Remote component (see laravel/framework)
PHP
17
star