Skip to content

Commit d634560

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: Clarify instructions by changing project name to project directory
2 parents d5b6e4e + dd5f326 commit d634560

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ to create new Symfony applications:
3030

3131
.. code-block:: terminal
3232
33-
$ symfony new my_project_name
33+
$ symfony new my_project_directory
3434
3535
Under the hood, this Symfony binary command executes the needed `Composer`_
3636
command to :ref:`create a new Symfony application <creating-symfony-applications>`

setup.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ application:
5353
.. code-block:: terminal
5454
5555
# run this if you are building a traditional web application
56-
$ symfony new my_project_name --version=5.3 --full
56+
$ symfony new my_project_directory --version=5.3 --full
5757
5858
# run this if you are building a microservice, console application or API
59-
$ symfony new my_project_name --version=5.3
59+
$ symfony new my_project_directory --version=5.3
6060
6161
The only difference between these two commands is the number of packages
6262
installed by default. The ``--full`` option installs all the packages that you
@@ -68,13 +68,13 @@ 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_name
71+
$ composer create-project symfony/website-skeleton:"^5.3" my_project_directory
7272
7373
# run this if you are building a microservice, console application or API
74-
$ composer create-project symfony/skeleton:"^5.3" my_project_name
74+
$ composer create-project symfony/skeleton:"^5.3" my_project_directory
7575
7676
No matter which command you run to create the Symfony application. All of them
77-
will create a new ``my_project_name/`` directory, download some dependencies
77+
will create a new ``my_project_directory/`` directory, download some dependencies
7878
into it and even generate the basic directories and files you'll need to get
7979
started. In other words, your new application is ready!
8080

@@ -260,20 +260,20 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
260260
.. code-block:: terminal
261261
262262
# use the most recent LTS version
263-
$ symfony new my_project_name --version=lts
263+
$ symfony new my_project_directory --version=lts
264264
265265
# use the 'next' Symfony version to be released (still in development)
266-
$ symfony new my_project_name --version=next
266+
$ symfony new my_project_directory --version=next
267267
268268
# you can also select an exact specific Symfony version
269-
$ symfony new my_project_name --version=5.4
269+
$ symfony new my_project_directory --version=5.4
270270
271271
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
272272
create new projects. If you use Composer, you need to tell the exact version:
273273

274274
.. code-block:: terminal
275275
276-
$ composer create-project symfony/skeleton:"^5.4" my_project_name
276+
$ composer create-project symfony/skeleton:"^5.4" my_project_directory
277277
278278
The Symfony Demo application
279279
----------------------------
@@ -286,7 +286,7 @@ Run this command to create a new project based on the Symfony Demo application:
286286

287287
.. code-block:: terminal
288288
289-
$ symfony new my_project_name --demo
289+
$ symfony new my_project_directory --demo
290290
291291
Start Coding!
292292
-------------

0 commit comments

Comments
 (0)