Skip to content

Commit

Permalink
docs: Add installation step to add the bundle in the config (#85)
Browse files Browse the repository at this point in the history
* Update README.md

add installation step to add the bundle in the config

* Update README.md

Co-authored-by: Kevin Bond <[email protected]>

---------

Co-authored-by: Kevin Bond <[email protected]>
  • Loading branch information
dazz and kbond authored Aug 6, 2024
1 parent 3e42b5d commit 1f78317
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ The transport also allows for processing these *queued* messages.
```bash
composer require --dev zenstruck/messenger-test
```
2. If not added automatically by Symfony Flex, add the bundle in `config/bundles.php`:

2. Update `config/packages/messenger.yaml` and override your transport(s)
```php
Zenstruck\Messenger\Test\ZenstruckMessengerTestBundle::class => ['test' => true],
```

3. Update `config/packages/messenger.yaml` and override your transport(s)
in your `test` environment with `test://`:

```yaml
Expand Down

0 comments on commit 1f78317

Please sign in to comment.