Skip to content

Commit 7726049

Browse files
authored
Update README.md
Service Provider is auto discovered
1 parent 4dcbe71 commit 7726049

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ RabbitMQ Queue driver for Laravel
1212

1313
`composer require vladimir-yuldashev/laravel-queue-rabbitmq:5.5`
1414

15-
2. Add LaravelQueueRabbitMQServiceProvider to `providers` array in `config/app.php`:
16-
17-
`VladimirYuldashev\LaravelQueueRabbitMQ\LaravelQueueRabbitMQServiceProvider::class,`
18-
19-
3. Add these properties to `.env` with proper values:
20-
21-
QUEUE_DRIVER=rabbitmq
22-
23-
RABBITMQ_HOST=127.0.0.1
24-
RABBITMQ_PORT=5672
25-
RABBITMQ_VHOST=/
26-
RABBITMQ_LOGIN=guest
27-
RABBITMQ_PASSWORD=guest
28-
RABBITMQ_QUEUE=queue_name
15+
2. Add these properties to `.env` with proper values:
2916

17+
```
18+
QUEUE_DRIVER=rabbitmq
19+
20+
RABBITMQ_HOST=127.0.0.1
21+
RABBITMQ_PORT=5672
22+
RABBITMQ_VHOST=/
23+
RABBITMQ_LOGIN=guest
24+
RABBITMQ_PASSWORD=guest
25+
RABBITMQ_QUEUE=queue_name
26+
```
3027

3128
You can also find full examples in src/examples folder.
3229

0 commit comments

Comments
 (0)