Skip to content

[Configuration] Some tweaks about Flex usage #11740

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
Jun 13, 2019
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
9 changes: 5 additions & 4 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ directory, which has this default structure:
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 and is managed automatically by
:doc:`Symfony Flex </setup/flex>`.
disables packages in your application.

You'll be working most in the ``config/packages/`` directory. This 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.

Most packages add a configuration file in ``config/packages/``. For example,
this is the default file for the "API Platform" package:
When using :doc:`Symfony Flex </setup/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:

.. code-block:: yaml

Expand Down