Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc40231

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

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎components/using_components.rst‎

Lines changed: 7 additions & 3 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp