Answer the question
In order to leave comments, you need to log in
How to make composer see private github repository?
There is a private turnip on github with a self-written library, I registered it in the composer
{
// ...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/company/name.git"
}
],
"require": {
// ...
"company/name": "dev-master"
}
}
//first variant
{
"github-oauth": {
"github.com": "xxxxxxxxxxxxxxxxxxx"
}
}
//second variant
{
"https://api.github.com/user": {
"username": "username",
"password": "password"
},
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question