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!