Skip to content

Commit e00ba0b

Browse files
alexislefebvrexabbuh
authored andcommitted
Revert "Updated the contents for the new Symfony 3 dir structure"
This reverts commit fbe5c11.
1 parent 0022165 commit e00ba0b

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

best_practices/creating-the-project.rst

+26-5
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,17 @@ that follows these best practices:
128128
129129
blog/
130130
├─ app/
131+
│ ├─ console
132+
│ ├─ cache/
131133
│ ├─ config/
134+
│ ├─ logs/
132135
│ └─ Resources/
133-
├─ bin/
134-
│ └─ console
135136
├─ src/
136-
├─ var/
137-
│ ├─ cache/
138-
│ └─ logs/
137+
│ └─ AppBundle/
139138
├─ vendor/
140139
└─ web/
140+
├─ app.php
141+
└─ app_dev.php
141142
142143
.. tip::
143144

@@ -156,6 +157,26 @@ structure of Symfony, you can
156157
:doc:`override the location of the main directories </configuration/override_dir_structure>`:
157158
``cache/``, ``logs/`` and ``web/``.
158159

160+
In addition, Symfony3 uses a slightly different directory structure:
161+
162+
.. code-block:: text
163+
164+
blog-symfony3/
165+
├─ app/
166+
│ ├─ config/
167+
│ └─ Resources/
168+
├─ bin/
169+
│ └─ console
170+
├─ src/
171+
├─ var/
172+
│ ├─ cache/
173+
│ └─ logs/
174+
├─ vendor/
175+
└─ web/
176+
177+
The changes are pretty superficial, but for now, we recommend that you use
178+
the Symfony directory structure.
179+
159180
.. _`Composer`: https://getcomposer.org/
160181
.. _`Phar extension`: http://php.net/manual/en/intro.phar.php
161182
.. _`public checksums repository`: https://github.com/sensiolabs/checksums

0 commit comments

Comments
 (0)