File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,12 @@ the ``Tests/`` directory. Tests should follow the following principles:
169169Installation
170170------------
171171
172- Bundles must define a `Symfony Flex recipe `_ to automate their integration
173- in Symfony applications. If some initial configuration is needed to execute
174- the bundle, including some environment variables, provide them in the recipe.
172+ Bundles should set ``"type": "symfony-bundle" `` in their ``composer.json `` file.
173+ With this, :doc: `Symfony Flex </setup/flex >` will be able to automatically
174+ enable your bundle when it's installed.
175+
176+ If your bundle requires any setup (e.g. configuration, new files, changes to
177+ `.gitignore `, etc), then you should create a `Symfony Flex recipe `_.
175178
176179Documentation
177180-------------
@@ -260,7 +263,7 @@ following standardized instructions in your ``README.md`` file.
260263
261264 Open a command console, enter your project directory and execute:
262265
263- .. code-block:: terminal
266+ .. code-block:: bash
264267
265268 $ composer require <package-name>
266269
You can’t perform that action at this time.
0 commit comments