Skip to content

Commit 66cc75a

Browse files
committed
Merge pull request #307 from ricbra/update_composer
Updated composer instructions to match best practice
2 parents 8ea9059 + 37ac6fd commit 66cc75a

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)