8000 add alternative method to force version with symfony/flex · symfony/symfony-docs@f2f03c8 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f2f03c8

Browse files
add alternative method to force version with symfony/flex
1 parent 9773afd commit f2f03c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bundles/best_practices.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ with Symfony Flex to install a specific Symfony version:
228228
229229
# this requires Symfony 5.x for all Symfony packages
230230
export SYMFONY_REQUIRE=5.*
231+
# alternative method: write to the composer.json file
232+
# composer config extra.symfony.require "5.*"
231233
232234
# install Symfony Flex in the CI environment
233235
composer global require --no-progress --no-scripts --no-plugins symfony/flex

0 commit comments

Comments
 (0)
0