Skip to content

Commit ad577de

Browse files
committed
Use HTTPS for downloading the Symfony Installer
1 parent 5cc78bc commit ad577de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

best_practices/creating-the-project.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ to create files and execute the following commands:
3333
3434
# Windows
3535
c:\> cd projects/
36-
c:\projects\> php symfony.phar new blog
36+
c:\projects\> php symfony new blog
3737
3838
This command creates a new directory called ``blog`` that contains a fresh new
3939
project based on the most recent stable Symfony version available. In addition,
@@ -110,10 +110,10 @@ Symfony documentation uses the AppBundle name.
110110
There is no need to prefix the AppBundle with your own vendor (e.g.
111111
AcmeAppBundle), because this application bundle is never going to be
112112
shared.
113-
113+
114114
.. note::
115-
116-
Another reason to create a new bundle is when you're overriding something
115+
116+
Another reason to create a new bundle is when you're overriding something
117117
in a vendor's bundle (e.g. a controller). See :doc:`/cookbook/bundles/inheritance`.
118118

119119
All in all, this is the typical directory structure of a Symfony application

book/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Open your command console and execute the following commands:
3232

3333
.. code-block:: bash
3434
35-
$ sudo curl -LsS http://symfony.com/installer -o /usr/local/bin/symfony
35+
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
3636
$ sudo chmod a+x /usr/local/bin/symfony
3737
3838
This will create a global ``symfony`` command in your system.
@@ -44,7 +44,7 @@ Open your command console and execute the following command:
4444

4545
.. code-block:: bash
4646
47-
c:\> php -r "readfile('http://symfony.com/installer');" > symfony
47+
c:\> php -r "readfile('https://symfony.com/installer');" > symfony
4848
4949
Then, move the downloaded ``symfony`` file to your project's directory and
5050
execute it as follows:

0 commit comments

Comments
 (0)