8000 Minor rewordings by ThomasLandauer · Pull Request #17671 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Minor rewordings #17671

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
Jan 10, 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
17 changes: 8 additions & 9 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@ directory, which has this default structure:
│ ├─ bundles.php
│ ├─ routes.yaml
│ └─ services.yaml
├─ ...

The ``routes.yaml`` file defines the :doc:`routing configuration </routing>`;
the ``services.yaml`` file configures the services of the
:doc:`service container </service_container>`; the ``bundles.php`` file enables/
disables packages in your application.
* The ``routes.yaml`` file defines the :doc:`routing configuration </routing>`;
* the ``services.yaml`` file configures the services of the
:doc:`service container </service_container>`;
* the ``bundles.php`` file enables/disables packages in your application.

You'll be working mostly in the ``config/packages/`` directory. This directory
The ``config/packages/`` directory
stores the configuration of every package installed in your application.
Packages (also called "bundles" in Symfony and "plugins/modules" in other
projects) add ready-to-use features to your projects.

When using :ref:`Symfony Flex <symfony-flex>`, which is enabled by default in
Symfony applications, packages update the ``bundles.php`` file and create new
files in ``config/packages/`` automatically during their installation. For
example, this is the default file created by the "API Platform" package:
example, this is the default file created by the "API Platform" bundle:

.. code-block:: yaml

Expand All @@ -42,9 +41,9 @@ example, this is the default file created by the "API Platform" package:
mapping:
paths: ['%kernel.project_dir%/src/Entity']

Splitting the configuration into lots of small files is intimidating for some
Splitting the configuration into lots of small files might appear intimidating for some
Symfony newcomers. However, you'll get used to them quickly and you rarely need
to change these files after package installation
to change these files after package installation.

.. tip::

Expand Down
0