You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Add these properties to `.env` with proper values:
17
+
The package will automatically register itself.
18
+
19
+
Add these properties to `.env` with proper values:
18
20
19
21
```
20
22
QUEUE_DRIVER=rabbitmq
@@ -30,7 +32,7 @@ RABBITMQ_PASSWORD=guest
30
32
RABBITMQ_QUEUE=queue_name
31
33
```
32
34
33
-
3.Optionally: if you want to to use an SSL connection, add these properties to the `.env` with proper values:
35
+
Optionally, if you want to to use an SSL connection, add these properties to the `.env` with proper values:
34
36
```
35
37
RABBITMQ_SSL=true
36
38
RABBITMQ_SSL_CAFILE=/path_to_your_ca_file
@@ -41,55 +43,42 @@ RABBITMQ_SSL_KEY=
41
43
42
44
Using an SSL connection will also require to configure your RabbitMQ to enable SSL. More details can be founds here: https://www.rabbitmq.com/ssl.html
43
45
44
-
4. Other AMQP transports
46
+
## Usage
47
+
48
+
Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
49
+
50
+
## Using other AMQP transports
45
51
46
52
The package uses [enqueue/amqp-lib](https://github.com/php-enqueue/enqueue-dev/blob/master/docs/transport/amqp_lib.md) transport which is based on [php-amqplib](https://github.com/php-amqplib/php-amqplib).
47
53
There is possibility to use any [amqp interop](https://github.com/queue-interop/queue-interop#amqp-interop) compatible transport, for example `enqueue/amqp-ext` or `enqueue/amqp-bunny`.
48
54
Here's an example on how one can change the transport to `enqueue/amqp-bunny`.
Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
74
+
## Testing
75
75
76
-
#### Testing
77
-
78
-
Run the tests with:
76
+
You can run the tests with:
79
77
80
78
```bash
81
79
vendor/bin/phpunit
82
80
```
83
81
84
-
85
-
#### Contribution
82
+
## Contribution
86
83
87
84
You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue. (e.g. [5.2] Fatal error on delayed job)
88
-
89
-
> If you want to make feature for several versions (for example: 5.2, 5.3, 5.4 and 5.5). Create PR for the lowest version (5.2). Hence, you should use branch v5.2.
90
-
91
-
#### Supported versions of Laravel (+Lumen)
92
-
93
-
`4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5`
94
-
95
-
The version is being matched by the release tag of this library.
0 commit comments