I need to install libraries such as phpunit and chrome-php on my php project.
My problem is that they are installed as git repositories, which means I cannot add the sourcecodes to my git repository.
I tried tu use the “preferred-install” parameter with “dist” and “source” values but nothing changes.
I know this is bad practice, but I really need to have this file in my git repository.
I have heard that I could use a “subtree merge strategy” to resolve my problem but I can’t figure out how to do it.
I am not an experienced developper so any tips will be very helpfull 🙂
Kolobo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.