Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2bb4ded

Browse filesBrowse files
committed
Clarify instructions by changing project name to project directory
1 parent 569b773 commit 2bb4ded
Copy full SHA for 2bb4ded

File tree

Expand file treeCollapse file tree

2 files changed

+11
-11
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+11
-11
lines changed

‎best_practices.rst

Copy file name to clipboardExpand all lines: best_practices.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: setup.rst
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ application:
5454
.. code-block:: terminal
5555
5656
# run this if you are building a traditional web application
57-
$ symfony new my_project_name --version=4.4 --full
57+
$ symfony new my_project_directory --version=4.4 --full
5858
5959
# run this if you are building a microservice, console application or API
60-
$ symfony new my_project_name --version=4.4
60+
$ symfony new my_project_directory --version=4.4
6161
6262
The only difference between these two commands is the number of packages
6363
installed by default. The ``--full`` option installs all the packages that you
@@ -69,13 +69,13 @@ Symfony application using Composer:
6969
.. code-block:: terminal
7070
7171
# run this if you are building a traditional web application
72-
$ composer create-project symfony/website-skeleton:"^4.4" my_project_name
72+
$ composer create-project symfony/website-skeleton:"^4.4" my_project_directory
7373
7474
# run this if you are building a microservice, console application or API
75-
$ composer create-project symfony/skeleton:"^4.4" my_project_name
75+
$ composer create-project symfony/skeleton:"^4.4" my_project_directory
7676
7777
No matter which command you run to create the Symfony application. All of them
78-
will create a new ``my_project_name/`` directory, download some dependencies
78+
will create a new ``my_project_directory/`` directory, download some dependencies
7979
into it and even generate the basic directories and files you'll need to get
8080
started. In other words, your new application is ready!
8181

@@ -258,20 +258,20 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
258258
.. code-block:: terminal
259259
260260
# use the most recent LTS version
261-
$ symfony new my_project_name --version=lts
261+
$ symfony new my_project_directory --version=lts
262262
263263
# use the 'next' Symfony version to be released (still in development)
264-
$ symfony new my_project_name --version=next
264+
$ symfony new my_project_directory --version=next
265265
266266
# you can also select an exact specific Symfony version
267-
$ symfony new my_project_name --version=4.4
267+
$ symfony new my_project_directory --version=4.4
268268
269269
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
270270
create new projects. If you use Composer, you need to tell the exact version:
271271

272272
.. code-block:: terminal
273273
274-
$ composer create-project symfony/skeleton:"^4.4" my_project_name
274+
$ composer create-project symfony/skeleton:"^4.4" my_project_directory
275275
276276
The Symfony Demo application
277277
----------------------------
@@ -284,7 +284,7 @@ Run this command to create a new project based on the Symfony Demo application:
284284

285285
.. code-block:: terminal
286286
287-
$ symfony new my_project_name --demo
287+
$ symfony new my_project_directory --demo
288288
289289
Start Coding!
290290
-------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.