Skip to content

Commit e92386c

Browse files
committed
feature #8640 Homestead symfony4 (michaelesmith, wouterj)
This PR was merged into the master branch. Discussion ---------- Homestead symfony4 /Continues #8078 Commits ------- 70291d7 [#8078] Added some inline code blocks 2a3660e Add new symfony4 site type to homestead documentation
2 parents f95209f + 70291d7 commit e92386c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup/homestead.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ configuration:
4949
# ...
5050
sites:
5151
- map: symfony-demo.test
52-
to: /home/vagrant/projects/symfony_demo/web
53-
type: symfony
52+
to: /home/vagrant/projects/symfony_demo/public
53+
type: symfony4
5454
5555
The ``type`` option tells Homestead to use the Symfony nginx configuration.
56+
Homestead now supports a Symfony 2 and 3 web layout with ``app.php`` and
57+
``app_dev.php`` when using type ``symfony2`` and an ``index.php`` layout when
58+
using type ``symfony4``.
5659

5760
At last, edit the hosts file on your local machine to map ``symfony-demo.test``
5861
to ``192.168.10.10`` (which is the IP used by Homestead)::

0 commit comments

Comments
 (0)