@@ -19,9 +19,11 @@ Before creating your first Symfony application you must:
19
19
`PCRE `_, `Session `_, `SimpleXML `_, and `Tokenizer `_;
20
20
* `Install Composer `_, which is used to install PHP packages.
21
21
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.
25
27
26
28
The ``symfony `` binary also provides a tool to check if your computer meets all
27
29
requirements. Open your console terminal and run this command:
@@ -52,8 +54,8 @@ application:
52
54
$ symfony new my_project_directory --version="6.3.*"
53
55
54
56
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 .
57
59
58
60
If you're not using the Symfony binary, run these commands to create the new
59
61
Symfony application using Composer:
@@ -226,8 +228,8 @@ packages as dependencies (e.g. you will see a new ``symfony/var-dumper`` in
226
228
Checking Security Vulnerabilities
227
229
---------------------------------
228
230
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
231
233
vulnerability:
232
234
233
235
.. code-block :: terminal
@@ -311,7 +313,7 @@ Learn More
311
313
312
314
.. _`Harmonious Development with Symfony` : https://symfonycasts.com/screencast/symfony
313
315
.. _`Install Composer` : https://getcomposer.org/download/
314
- .. _`install Symfony CLI` : https://symfony.com/download
316
+ .. _`install the Symfony CLI` : https://symfony.com/download
315
317
.. _`symfony-cli/symfony-cli GitHub repository` : https://github.com/symfony-cli/symfony-cli
316
318
.. _`The Symfony Demo Application` : https://github.com/symfony/demo
317
319
.. _`Symfony Flex` : https://github.com/symfony/flex
0 commit comments