Skip to content

Commit

Permalink
Merge pull request #9 from mathroc/dx/optional-console
Browse files Browse the repository at this point in the history
make ivoba/console-service-provider a suggestion instead of a require…
  • Loading branch information
williamespindola authored Sep 29, 2017
2 parents 9d10861 + 3217624 commit fe0c5b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $application->add(new Consumer());
$application->run();
```

We rely on the [Ivoba\Silex\Provider\ConsoleServiceProvider](https://github.com/ivoba/console-service-provider) to make things easier, so you have to register it too. You can create new commands by inheriting from the example Consumer, and adding them as the example above.
In this exemple we rely on the [Ivoba\Silex\Provider\ConsoleServiceProvider](https://github.com/ivoba/console-service-provider) to make things easier, so you have to install it too. You can create new commands by inheriting from the example Consumer, and adding them as the example above.


## Credits ##
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
"require": {
"php": ">=5.5.0",
"silex/silex": "~2.0",
"php-amqplib/rabbitmq-bundle": "~1.9",
"ivoba/console-service-provider": "~3.0"
"php-amqplib/rabbitmq-bundle": "~1.9"
},
"suggest": {
"ivoba/console-service-provider": "for the rabbitmq:consumer command"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
Expand Down

0 comments on commit fe0c5b5

Please sign in to comment.