I am new to Symfony, I tried to install symfony/maker-bundle
, but it gives me the following error:
Using version ^1.22 for symfony/maker-bundle
.
Ocramius is well known for his harsh stance in maintaining backward compatibility.
On this case, release 2.9.0 says:
This release upgrades
ocramius/proxy-manager
to usecomposer-runtime-api:^2
: this means that you will needcomposer:^2
to install this version of ProxyManager.In order to upgrade to composer v2, you can run
composer self-update --2
on your development or CI/CD system.
So your options are:
either upgrade composer to version 2 (composer self-update --2
), which is really the recommended way to go unless you have some specific composer plugin that you really need and hasn't been updated to account for the new release.
Find which package you are installing is the one that requires the proxy-manager (composer why ocramius/proxy-manager
), and see if you can adjust your version constraints on that package so that it depends on an older (< 2.9) version of ocramius/proxy-manager
. (I mention this option only for completeness sake, but upgrading composer is really the way to go).