From 2a3660eb904b717dfcb304cd931a647dbd8e2798 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 22 Jun 2017 14:30:54 -0500 Subject: [PATCH 1/2] Add new symfony4 site type to homestead documentation --- setup/homestead.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/homestead.rst b/setup/homestead.rst index d56ddab31ce..fd07201de49 100644 --- a/setup/homestead.rst +++ b/setup/homestead.rst @@ -50,9 +50,11 @@ configuration: sites: - map: symfony-demo.test to: /home/vagrant/projects/symfony_demo/web - type: symfony + type: symfony4 -The ``type`` option tells Homestead to use the Symfony nginx configuration. +The ``type`` option tells Homestead to use the Symfony nginx configuration. +Homestead now supports a Symfony2 web layout with app.php and app_dev.php when +using type: symfony2 and an index.php layout when using type: symfony4. At last, edit the hosts file on your local machine to map ``symfony-demo.test`` to ``192.168.10.10`` (which is the IP used by Homestead):: From 70291d73ab16f7717547433140ac48d8b87c67d7 Mon Sep 17 00:00:00 2001 From: Wouter J Date: Mon, 13 Nov 2017 14:19:42 +0100 Subject: [PATCH 2/2] [#8078] Added some inline code blocks --- setup/homestead.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup/homestead.rst b/setup/homestead.rst index fd07201de49..664f0bc613b 100644 --- a/setup/homestead.rst +++ b/setup/homestead.rst @@ -49,12 +49,13 @@ configuration: # ... sites: - map: symfony-demo.test - to: /home/vagrant/projects/symfony_demo/web + to: /home/vagrant/projects/symfony_demo/public type: symfony4 -The ``type`` option tells Homestead to use the Symfony nginx configuration. -Homestead now supports a Symfony2 web layout with app.php and app_dev.php when -using type: symfony2 and an index.php layout when using type: symfony4. +The ``type`` option tells Homestead to use the Symfony nginx configuration. +Homestead now supports a Symfony 2 and 3 web layout with ``app.php`` and +``app_dev.php`` when using type ``symfony2`` and an ``index.php`` layout when +using type ``symfony4``. At last, edit the hosts file on your local machine to map ``symfony-demo.test`` to ``192.168.10.10`` (which is the IP used by Homestead)::