Answer the question
In order to leave comments, you need to log in
Can Composer download not the entire repository, but only a separate folder?
Let's say smarty-php/smarty
git repository can composer download only libs/
current composer.json folder like this
{
"config": {
"vendor-dir": "vendor/libs"
},
"require": {
"smarty/smarty": "^3.1",
"fenom/fenom": "~2",
"twig/twig": "^1.22",
"imagine/imagine": "^0.6.3"
}
}
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