A have the following folders, each one containing a project:
PackageA
PackageB
PackageC
PackageA depends on PackageB witch also depends on PackageC, each one is a git repository.
This is the PackageA composer.json:
{
"name": "packagea/packagea",
"require": {
"packageb/packageb": "dev-master"
}
"repositories": [
{
"type": "vcs",
"url": "../PackageB"
}
]
}
This is the PackageB composer.json:
{
"name": "packageb/packageb",
"require": {
"packagec/packagec": "dev-master"
}
"repositories": [
{
"type": "vcs",
"url": "../PackageC"
}
]
}
And this is the PackageC composer.json:
{
"name": "packagec/packagec"
}
This is what i get when i try composer update
on PackageA folder:
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for packageb/packageb dev-master -> satisfiable by packageb/packageb[dev-master]. - packageb/packageb dev-master requires packagec/packagec dev-master -> no matching package found.
Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
But, there's a PackageC dependency specified on PackageB
What i'm doing wrong?