File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
Original file line number Diff line number Diff line change @@ -31,22 +31,44 @@ The test suite needs the following third-party libraries:
31
31
* Twig
32
32
* Monolog
33
33
34
- To install them all, run the `vendors ` script:
34
+ To install them all, use `Composer `_:
35
+
36
+ Step 1: Get `Composer `_
37
+
38
+ .. code-block :: bash
39
+
40
+ curl -s http://getcomposer.org/installer | php
41
+
42
+ Make sure you download ``composer.phar `` in the same folder where
43
+ the ``composer.json `` file is located.
44
+
45
+ Step 2: Install vendors
35
46
36
47
.. code-block :: bash
37
48
38
- $ php vendors.php install
49
+ $ php composer.phar --dev install
39
50
40
51
.. note ::
41
52
42
53
Note that the script takes some time to finish.
43
54
55
+ .. note ::
56
+
57
+ If you don't have ``curl `` installed, you can also just download the ``installer ``
58
+ file manually at http://getcomposer.org/installer. Place this file into your
59
+ project and then run:
60
+
61
+ .. code-block :: bash
62
+
63
+ $ php installer
64
+ $ php composer.phar --dev install
65
+
44
66
After installation, you can update the vendors to their latest version with
45
67
the follow command:
46
68
47
69
.. code-block :: bash
48
70
49
- $ php vendors.php update
71
+ $ php composer.phar --dev update
50
72
51
73
Running
52
74
-------
@@ -87,3 +109,4 @@ browser.
87
109
dependencies installed.
88
110
89
111
.. _install : http://www.phpunit.de/manual/current/en/installation.html
112
+ .. _`Composer` : http://getcomposer.org/
You can’t perform that action at this time.
0 commit comments