I have a directory structure like so:
composer.json < Main
packages/
balunker/
testpackage/
composer.json < Package
src/
What worked for me was very similar to the above, but I had to specifically target the branch I was developing on.
Assuming code in directory /newapp on the same level as /app, and a branch named feature/the-new-package:
"repositories": [
{
"type": "path",
"url": "newapp"
}
],
"require": {
"package/newapp": "dev-feature/the-new-package"
},
\* did not work, neither did dev-master. It had to be dev-feature/the-new-package.