PHPnews.io

New in SymfonyInsight: Composer 2 native support

Written by Symfony blog / Original link on Sep. 11, 2020

Composer 2.0 has just reached its first Release Candidate version, making it closer to a first stable release. It has much better performance and memory usage than Composer 1 and improves the way packages are downloaded to lower the time it takes to run commands like composer install or composer update.

Even if Composer 2 is not stable yet, you can already use it in your SymfonyInsight projects.

When running the composer install command during the analysis, we are now using Composer version 1 or version 2 depending on the composer.lock of your project. SymfonyInsight provides Composer binaries for both versions and automatically choose the right version for your project.

Feel free to test Composer 2 in a branch!

Sponsor the Symfony project.

symfony

« Weekly Update 208 - Manage Environment Variables with Eco »