Skip to content
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
11 changes: 11 additions & 0 deletions setup/flex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@ manual steps:
.. code-block:: terminal

$ composer remove symfony/symfony

Now add the ``symfony/symfony`` package to the ``conflict`` section of the project's
``composer.json`` file as `shown in this example of the skeleton-project`_ so that
it will not be installed again:

.. code-block:: json

"conflict": {
"symfony/symfony": "*"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this will not be rendered properly as this extra is not a full valid JSON document. What do you think if we used a diff block here instead?


Now you must add in ``composer.json`` all the Symfony dependencies required
by your project. A quick way to do that is to add all the components that
Expand Down Expand Up @@ -254,5 +264,6 @@ manual steps:
.. _`Symfony Recipes documentation`: https://github.com/symfony/recipes/blob/master/README.rst
.. _`default services.yaml file`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/services.yaml
.. _`shown in this example`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L24-L33
.. _`shown in this example of the skeleton-project`: https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af/composer.json#L44-L46
.. _`copying Symfony's index.php source`: https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/public/index.php
.. _`copying Symfony's bin/console source`: https://github.com/symfony/recipes/blob/master/symfony/console/3.3/bin/console