I recently researched Composer's minimal stability a lot. I got into the official documentation and read about the change in minimum stability. But even in this case, I can’t get the composer to install the dependencies.
I have a root package and two others, call them packageA and packageB. When I needed package B in the root package, package B should carry package A with it, but that is when I get the error.
Your requirements cannot be resolved to an installed set of packages.
Problem 1
- The installation request for packageB / packageB dev-master → is doable by packageA / packageA [dev-master].
- packageB / packageB dev-master requires packageA / packageA dev-master → no matching package was found.
Potential reasons:
- Type in package name
- The package is not available in a sufficiently stable version in accordance with the minimum stability setting.
Short version of the root package of my composer.json
{
"require": {
"packageB / packageB": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": " git@bitbucket.org : packageB / packageB.git"
}
],
"minimum-stability": "dev"
}
Batch short version of my composer.json
{
"require": {
},
"minimum-stability": "dev"
}
Short version of packageB of my composer .json
{
"require": {
"packageA / packageA": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": " git@bitbucket.org : packageA / packageA.git"
}
],
"minimum-stability": "dev"
}
A root package that requires packageA, but packageB says that it cannot find packageA in matching conditions.
What am I doing wrong?
Thanks a lot since then.
source share