Answer the question
In order to leave comments, you need to log in
How to add your libraries to Composer for use in different projects?
There is a set of own libraries which I use in different projects. Now I'm trying to figure it out with Composer, I'm interested in the possibility of loading my libraries from private repositories.
1. Is this possible?
2. How to format the json file for this?
3. How to format your libraries so that they can be easily used in Composer?
Answer the question
In order to leave comments, you need to log in
https://github.com/composer/satis
Well, in general, it's easier to specify the git repository directly:
"repositories": [
{
"type": "git",
"url": "....git"
}
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question