Add --json flag to composer config command

This commit is contained in:
Hugo Alliaume
2025-10-16 09:24:06 +02:00
parent 15b1f8fac8
commit b4b323fdc8

View File

@@ -14,7 +14,7 @@ composer require symfony/ux-translator:2.23.0
npm add @symfony/ux-translator@2.23.0
```
**Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config "extra.symfony/flex.synchronize_package_json" false`.
**Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config --json "extra.symfony/flex.synchronize_package_json" false`.
## Resources