Version conflict between composer packages due to Craft using composer/composer 2.2 #13396
-
Hello, I am running into some of a roadblock. I am building my own plugin for Craft and running into a version conflict of composer packages. In my plugin I want to include a composer package that requires The reason for this is that in the Craft CMS composer.json the package Now Brandon stated in this comment that Craft is not moving forward due to breaking changes in 2.3 as stated here: No idea what these breaking changes are but what options do I have? Is Craft going to move forward and use |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It’s on my list to work through the breaking changes and get the built-in Composer version updated. I’ll try to find some time to look into it for 4.5. |
Beta Was this translation helpful? Give feedback.
-
That would be awesome, thank you. |
Beta Was this translation helpful? Give feedback.
-
Craft 3.9.0 and 4.5.0 are both out now, with a solution for this. Craft now bundles a We’ll be removing that dependency entirely in Craft 5; it’s only left around for backwards compatibility. |
Beta Was this translation helpful? Give feedback.
Craft 3.9.0 and 4.5.0 are both out now, with a solution for this. Craft now bundles a
composer.phar
file and uses that to perform Composer operations internally, which allowed us to loosen up thecomposer/composer
constraint to^2.2.19
(#13519).We’ll be removing that dependency entirely in Craft 5; it’s only left around for backwards compatibility.