Answer the question
In order to leave comments, you need to log in
How to ignore composer some folders?
There is a project on github with a folder and file
structure -folder1
-folder1.1
-folder2
-folder3
composer.json
Is it possible to somehow specify the composer so that the folder3 folder is not downloaded when the component is installed?
Answer the question
In order to leave comments, you need to log in
It will not be possible to implement such a mechanism using composer, as far as I know - it stupidly downloads the source specified in packagist.org. An option is to have a fork of the main project without a test folder, which is submitted to packagist.org.
Or remove the tests from the master branch, but store them in the one in which development is underway, branch only from it, and do not merge the tests into the master.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question