File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ How to Install and Use the Symfony2 Components
6
6
==============================================
7
7
8
8
If you're starting a new project (or already have a project) that will use
9
- one or more components, the easiest way to integrate everything is with Composer.
9
+ one or more components, the easiest way to integrate everything is with ` Composer `_ .
10
10
Composer is smart enough to download the component(s) that you need and take
11
11
care of autoloading so that you can begin using the libraries immediately.
12
12
@@ -33,13 +33,15 @@ may also need to adjust the version (e.g. ``2.1.1`` or ``2.2.*``).
33
33
34
34
You can research the component names and versions at `packagist.org `_.
35
35
36
- **3. ** Download the vendor libraries and generate the ``vendor/autoload.php `` file:
36
+ **3. ** `Install composer `_ if you don't already have it present on your system:
37
+
38
+ **4. ** Download the vendor libraries and generate the ``vendor/autoload.php `` file:
37
39
38
40
.. code-block :: bash
39
41
40
42
$ php composer.phar install
41
43
42
- **4 . ** Write your code:
44
+ **5 . ** Write your code:
43
45
44
46
Once Composer has downloaded the component(s), all you need to do is include
45
47
the ``vendor/autoload.php `` file that was generated by Composer. This file
@@ -93,4 +95,6 @@ documentation to find out more about how to use it.
93
95
94
96
And have fun!
95
97
98
+ .. _Composer : http://getcomposer.org
99
+ .. _Install composer : http://getcomposer.org/download/
96
100
.. _packagist.org : https://packagist.org/
You can’t perform that action at this time.
0 commit comments