Skip to content

Commit 37ac6fd

Browse files
committed
Updated composer instructions to match best practice
1 parent c26019d commit 37ac6fd

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ This bundle was presented at [Symfony Live Paris 2011](http://www.symfony-live.c
2727

2828
### For Symfony Framework >= 2.3 ###
2929

30-
Require the bundle in your composer.json file:
30+
Require the bundle and its dependencies with composer:
3131

32-
````
33-
{
34-
"require": {
35-
"oldsound/rabbitmq-bundle": "1.*",
36-
}
37-
}
32+
```bash
33+
$ composer require oldsound/rabbitmq-bundle
3834
```
3935

4036
Register the bundle:
@@ -50,12 +46,6 @@ public function registerBundles()
5046
}
5147
```
5248

53-
Install the bundle:
54-
55-
```
56-
$ composer update oldsound/rabbitmq-bundle
57-
```
58-
5949
Enjoy !
6050

6151
### For a console application that uses Symfony Console, Dependency Injection and Config components ###

0 commit comments

Comments
 (0)