Skip to content

[Best Practices] Update directory structure #18836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bundles/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ The following is the recommended directory structure of an AcmeBlogBundle:
.. code-block:: text

<your-bundle>/
├── assets/
├── config/
├── docs/
│ └─ index.md
Expand Down Expand Up @@ -122,6 +123,7 @@ Doctrine ODM documents ``src/Document/``
Event Listeners ``src/EventListener/``
Configuration (routes, services, etc.) ``config/``
Web Assets (CSS, JS, images) ``public/``
Web Assets not meant to be publicly available ``assets/``
Translation files ``translations/``
Validation (when not using annotations) ``config/validation/``
Serialization (when not using annotations) ``config/serialization/``
Expand Down