Skip to content

Commit 0efdd5b

Browse files
committed
minor #16388 User --webapp instead of --full (fabpot)
This PR was merged into the 5.3 branch. Discussion ---------- User --webapp instead of --full I'm preparing a blog post about the new `webapp` flag/package to explain the difference with the website skeleton, but I first like to update the docs. Note that this only works as of 5.3 (so 4.4 should keep using the "old" way). Related to symfony-cli/symfony-cli#38 Commits ------- 45c032a User --webapp instead of --full
2 parents 3524477 + 45c032a commit 0efdd5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ application:
5353
.. code-block:: terminal
5454
5555
# run this if you are building a traditional web application
56-
$ symfony new my_project_directory --version=5.3 --full
56+
$ symfony new my_project_directory --version=5.3 --webapp
5757
5858
# run this if you are building a microservice, console application or API
5959
$ symfony new my_project_directory --version=5.3
6060
6161
The only difference between these two commands is the number of packages
62-
installed by default. The ``--full`` option installs all the packages that you
62+
installed by default. The ``--webapp`` option installs all the packages that you
6363
usually need to build web applications, so the installation size will be bigger.
6464

6565
If you're not using the Symfony binary, run these commands to create the new
@@ -68,7 +68,9 @@ Symfony application using Composer:
6868
.. code-block:: terminal
6969
7070
# run this if you are building a traditional web application
71-
$ composer create-project symfony/website-skeleton:"^5.3" my_project_directory
71+
$ composer create-project symfony/skeleton:"^5.3" my_project_directory
72+
$ cd my_project_directory
73+
$ composer require webapp
7274
7375
# run this if you are building a microservice, console application or API
7476
$ composer create-project symfony/skeleton:"^5.3" my_project_directory

0 commit comments

Comments
 (0)