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 dd5f326

Browse filesBrowse files
committed
minor #16361 Clarify instructions by changing project name to project directory (CJDennis)
This PR was merged into the 4.4 branch. Discussion ---------- Clarify instructions by changing project name to project directory <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 2bb4ded Clarify instructions by changing project name to project directory
2 parents 659c490 + 2bb4ded commit dd5f326
Copy full SHA for dd5f326

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
@@ -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=4.4 --full
56+
$ symfony new my_project_directory --version=4.4 --full
5757
5858
# run this if you are building a microservice, console application or API
59-
$ symfony new my_project_name --version=4.4
59+
$ symfony new my_project_directory --version=4.4
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:"^4.4" my_project_name
71+
$ composer create-project symfony/website-skeleton:"^4.4" my_project_directory
7272
7373
# run this if you are building a microservice, console application or API
74-
$ composer create-project symfony/skeleton:"^4.4" my_project_name
74+
$ composer create-project symfony/skeleton:"^4.4" 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

@@ -253,20 +253,20 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
253253
.. code-block:: terminal
254254
255255
# use the most recent LTS version
256-
$ symfony new my_project_name --version=lts
256+
$ symfony new my_project_directory --version=lts
257257
258258
# use the 'next' Symfony version to be released (still in development)
259-
$ symfony new my_project_name --version=next
259+
$ symfony new my_project_directory --version=next
260260
261261
# you can also select an exact specific Symfony version
262-
$ symfony new my_project_name --version=4.4
262+
$ symfony new my_project_directory --version=4.4
263263
264264
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
265265
create new projects. If you use Composer, you need to tell the exact version:
266266

267267
.. code-block:: terminal
268268
269-
$ composer create-project symfony/skeleton:"^4.4" my_project_name
269+
$ composer create-project symfony/skeleton:"^4.4" my_project_directory
270270
271271
The Symfony Demo application
272272
----------------------------
@@ -279,7 +279,7 @@ Run this command to create a new project based on the Symfony Demo application:
279279

280280
.. code-block:: terminal
281281
282-
$ symfony new my_project_name --demo
282+
$ symfony new my_project_directory --demo
283283
284284
Start Coding!
285285
-------------

0 commit comments

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