Merge branch '6.3' into 6.4

* 6.3:
  minor tweaks to setup related to the symfony cli
This commit is contained in:
Javier Eguiluz
2024-01-30 17:15:43 +01:00

View File

@@ -19,9 +19,11 @@ Before creating your first Symfony application you must:
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;
* `Install Composer`_, which is used to install PHP packages.
Optionally, you can also `install Symfony CLI`_. This creates a binary called
``symfony`` that provides all the tools you need to develop and run your
Symfony application locally.
.. _setup-symfony-cli:
Also, `install the Symfony CLI`_. This is optional, but it gives you a
helpful binary called ``symfony`` that provides all tools you need to
develop and run your Symfony application locally.
The ``symfony`` binary also provides a tool to check if your computer meets all
requirements. Open your console terminal and run this command:
@@ -52,8 +54,8 @@ application:
$ symfony new my_project_directory --version="6.4.*"
The only difference between these two commands is the number of packages
installed by default. The ``--webapp`` option installs all the packages that you
usually need to build web applications, so the installation size will be bigger.
installed by default. The ``--webapp`` option installs extra packages to give
you everything you need to build a web application.
If you're not using the Symfony binary, run these commands to create the new
Symfony application using Composer:
@@ -226,8 +228,8 @@ packages as dependencies (e.g. you will see a new ``symfony/var-dumper`` in
Checking Security Vulnerabilities
---------------------------------
The ``symfony`` binary created when you `install Symfony CLI`_ provides a command
to check whether your project's dependencies contain any known security
The ``symfony`` binary created when you installed the :ref:`Symfony CLI <setup-symfony-cli>`
provides a command to check whether your project's dependencies contain any known security
vulnerability:
.. code-block:: terminal
@@ -311,7 +313,7 @@ Learn More
.. _`Harmonious Development with Symfony`: https://symfonycasts.com/screencast/symfony
.. _`Install Composer`: https://getcomposer.org/download/
.. _`install Symfony CLI`: https://symfony.com/download
.. _`install the Symfony CLI`: https://symfony.com/download
.. _`symfony-cli/symfony-cli GitHub repository`: https://github.com/symfony-cli/symfony-cli
.. _`The Symfony Demo Application`: https://github.com/symfony/demo
.. _`Symfony Flex`: https://github.com/symfony/flex