Skip to content

Commit 289ba19

Browse files
committed
minor #102 Updated the Global Composer Installation article (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Updated the Global Composer Installation article Recently we discussed about this. I was one of the people in favor of keeping our article because the installation proposed by Composer is more complex. However, I was wrong. The official Composer doc is the way to go to install Composer. It doesn't matter if it's a bit more complex because this is something you do once in your lifetime. Commits ------- cacfb88 Updated the Global Composer Installation article
2 parents af88303 + cacfb88 commit 289ba19

File tree

1 file changed

+6
-28
lines changed

1 file changed

+6
-28
lines changed

setup/composer.rst

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,11 @@ Installing Composer
55
===================
66

77
`Composer`_ is the package manager used by modern PHP applications. Use Composer
8-
to manage dependencies in your Symfony applications and to install Symfony Components
9-
in your PHP projects.
8+
to manage dependencies in your Symfony applications and to install Symfony
9+
Components in your PHP projects.
1010

11-
It's recommended to install Composer globally in your system as explained in the
12-
following sections.
11+
Since this article was first published, Composer installation has improved a lot.
12+
Therefore, the original contents of this article have been removed and you are
13+
encourage to `install Composer`_ as explained in the official Composer documentation.
1314

14-
Install Composer on Linux and Mac OS X
15-
--------------------------------------
16-
17-
#. Run the installer as described in `the official Composer documentation`_;
18-
#. Execute the following command to move the ``composer.phar`` to a directory that is in your path:
19-
20-
.. code-block:: bash
21-
22-
$ sudo mv composer.phar /usr/local/bin/composer
23-
24-
Install Composer on Windows
25-
---------------------------
26-
27-
Download the installer from `getcomposer.org`_, execute it and follow the instructions.
28-
29-
Learn more
30-
----------
31-
32-
Read the `Composer documentation`_ to learn more about its usage and features.
33-
34-
.. _`Composer`: https://getcomposer.org/
35-
.. _`Composer documentation`: https://getcomposer.org/doc/00-intro.md
36-
.. _`getcomposer.org`: https://getcomposer.org/Composer-Setup.exe
37-
.. _the official Composer documentation: https://getcomposer.org/download
15+
.. _`install Composer`: https://getcomposer.org/download/

0 commit comments

Comments
 (0)