composer-php
How to ignore directories with Composer?
This is not possible in Composer. However, there are some ways to do it: When you run the update or install command with –prefer-dist, Composer tries to download the archive on github. You can remove the test directory from the archives by putting this in a .gitattributes file in the root directory of your project: … Read more