From 45c032a21b58074b55cee88ef870a8ecca182941 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 12 Jan 2022 08:33:34 +0100 Subject: [PATCH] User --webapp instead of --full --- setup.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.rst b/setup.rst index 85c1c58a8cb..94628e87ffe 100644 --- a/setup.rst +++ b/setup.rst @@ -53,13 +53,13 @@ application: .. code-block:: terminal # run this if you are building a traditional web application - $ symfony new my_project_directory --version=5.3 --full + $ symfony new my_project_directory --version=5.3 --webapp # run this if you are building a microservice, console application or API $ symfony new my_project_directory --version=5.3 The only difference between these two commands is the number of packages -installed by default. The ``--full`` option installs all the packages that you +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. If you're not using the Symfony binary, run these commands to create the new @@ -68,7 +68,9 @@ Symfony application using Composer: .. code-block:: terminal # run this if you are building a traditional web application - $ composer create-project symfony/website-skeleton:"^5.3" my_project_directory + $ composer create-project symfony/skeleton:"^5.3" my_project_directory + $ cd my_project_directory + $ composer require webapp # run this if you are building a microservice, console application or API $ composer create-project symfony/skeleton:"^5.3" my_project_directory