Skip to content

Commit dc40231

Browse files
committed
Merge pull request #1994 from Sgoettschkes/composer_links
Adding a link to composer and mentioning the installation of it.
2 parents e3c71c1 + fd43e33 commit dc40231

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

components/using_components.rst

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Install and Use the Symfony2 Components
66
==============================================
77

88
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`_.
1010
Composer is smart enough to download the component(s) that you need and take
1111
care of autoloading so that you can begin using the libraries immediately.
1212

@@ -33,13 +33,15 @@ may also need to adjust the version (e.g. ``2.1.1`` or ``2.2.*``).
3333

3434
You can research the component names and versions at `packagist.org`_.
3535

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:
3739

3840
.. code-block:: bash
3941
4042
$ php composer.phar install
4143
42-
**4.** Write your code:
44+
**5.** Write your code:
4345

4446
Once Composer has downloaded the component(s), all you need to do is include
4547
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.
9395

9496
And have fun!
9597

98+
.. _Composer: http://getcomposer.org
99+
.. _Install composer: http://getcomposer.org/download/
96100
.. _packagist.org: https://packagist.org/

0 commit comments

Comments
 (0)