Answer the question
In order to leave comments, you need to log in
How to set dependencies for a project via composer?
There are repositories on the server
- project A (library)
- project B (C, D, etc)
How can I set project B as a dependency on project A through composer. (what should be their composer.json files)
ps. rights are controlled by gitolite
pps must be allowed without using external services (github, etc)
Answer the question
In order to leave comments, you need to log in
Instead of a git hub, there may be your address.
{
"repositories": [{
"type": "vcs",
"url": "https://login:[email protected]/neitanod/forceutf8.git"
}],
"require": {
"neitanod/forceutf8": "dev-master",
},
"config": {
"vendor-dir": "path/to/vendor"
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question