From 3217624ff3395f6df0f81f6253cc414d6701f8bc Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Wed, 30 Nov 2016 14:14:21 +0100 Subject: [PATCH] make ivoba/console-service-provider a suggestion instead of a requirement --- README.md | 2 +- composer.json | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 870e27a..08cf8ae 100644 --- a/README.md +++ b/README.md @@ -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 ## diff --git a/composer.json b/composer.json index 86722cc..254e7f2 100644 --- a/composer.json +++ b/composer.json @@ -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"