title: php composer installing the whole source code and extra files
body: <p>I'm totally new to composer and read the whole manual and started using it, but there is this thing that I can't figure it out.
  when I run the command</p>
  
  <pre><code>composer require example/example
  </code></pre>
  
  <p>ok, composer downloads the source code of library, but it has downloaded the <strong>WHOLE source code including the samples, readme, test files, anything</strong>. I plan to use many libraries and I don't want extra files to reside on my server. </p>
  
  <p>How can I get rid of extra files composer downloads?? </p>