Skip to content

Commit e0cda86

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: minor tweaks to setup related to the symfony cli
2 parents 1ee1d4e + 9a39b92 commit e0cda86

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

setup.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ Before creating your first Symfony application you must:
1919
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;
2020
* `Install Composer`_, which is used to install PHP packages.
2121

22-
Optionally, you can also `install Symfony CLI`_. This creates a binary called
23-
``symfony`` that provides all the tools you need to develop and run your
24-
Symfony application locally.
22+
.. _setup-symfony-cli:
23+
24+
Also, `install the Symfony CLI`_. This is optional, but it gives you a
25+
helpful binary called ``symfony`` that provides all tools you need to
26+
develop and run your Symfony application locally.
2527

2628
The ``symfony`` binary also provides a tool to check if your computer meets all
2729
requirements. Open your console terminal and run this command:
@@ -52,8 +54,8 @@ application:
5254
$ symfony new my_project_directory --version="7.0.*"
5355
5456
The only difference between these two commands is the number of packages
55-
installed by default. The ``--webapp`` option installs all the packages that you
56-
usually need to build web applications, so the installation size will be bigger.
57+
installed by default. The ``--webapp`` option installs extra packages to give
58+
you everything you need to build a web application.
5759

5860
If you're not using the Symfony binary, run these commands to create the new
5961
Symfony application using Composer:
@@ -226,8 +228,8 @@ packages as dependencies (e.g. you will see a new ``symfony/var-dumper`` in
226228
Checking Security Vulnerabilities
227229
---------------------------------
228230

229-
The ``symfony`` binary created when you `install Symfony CLI`_ provides a command
230-
to check whether your project's dependencies contain any known security
231+
The ``symfony`` binary created when you installed the :ref:`Symfony CLI <setup-symfony-cli>`
232+
provides a command to check whether your project's dependencies contain any known security
231233
vulnerability:
232234

233235
.. code-block:: terminal
@@ -311,7 +313,7 @@ Learn More
311313

312314
.. _`Harmonious Development with Symfony`: https://symfonycasts.com/screencast/symfony
313315
.. _`Install Composer`: https://getcomposer.org/download/
314-
.. _`install Symfony CLI`: https://symfony.com/download
316+
.. _`install the Symfony CLI`: https://symfony.com/download
315317
.. _`symfony-cli/symfony-cli GitHub repository`: https://github.com/symfony-cli/symfony-cli
316318
.. _`The Symfony Demo Application`: https://github.com/symfony/demo
317319
.. _`Symfony Flex`: https://github.com/symfony/flex

0 commit comments

Comments
 (0)