Merge pull request #202 from jrobeson/patch-1

use composer require for installation
This commit is contained in:
Christophe Coevoet
2015-03-22 19:16:23 +01:00

View File

@@ -32,25 +32,13 @@ Through Composer
The easiest way to keep your suite updated is to use `Composer <http://getcomposer.org>`_: The easiest way to keep your suite updated is to use `Composer <http://getcomposer.org>`_:
1. Define dependencies in your ``composer.json``: 1. Install with composer:
.. code-block:: js
{
"require-dev": {
...
"behat/mink-extension": "~2.0@dev"
}
}
2. Install/update your vendors:
.. code-block:: bash .. 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 .. code-block:: yaml