From d82797e5dfdb30b159b3cec09ea9d0e2823615e3 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sat, 21 Mar 2015 06:53:24 -0400 Subject: [PATCH] use composer require for installation --- doc/index.rst | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index d9a6a3f..9061913 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -32,25 +32,13 @@ Through Composer The easiest way to keep your suite updated is to use `Composer `_: -1. Define dependencies in your ``composer.json``: - - .. code-block:: js - - { - "require-dev": { - ... - - "behat/mink-extension": "~2.0@dev" - } - } - -2. Install/update your vendors: +1. Install with composer: .. code-block:: bash - $ composer update behat/mink-extension + $ composer require --dev behat/mink-extension -3. Activate extension by specifying its class in your ``behat.yml``: +2. Activate extension by specifying its class in your ``behat.yml``: .. code-block:: yaml