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:
169
169
Installation
170
170
------------
171
171
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 `_.
175
178
176
179
Documentation
177
180
-------------
@@ -260,7 +263,7 @@ following standardized instructions in your ``README.md`` file.
260
263
261
264
Open a command console, enter your project directory and execute:
262
265
263
- .. code-block:: terminal
266
+ .. code-block:: bash
264
267
265
268
$ composer require <package-name>
266
269
You can’t perform that action at this time.
0 commit comments