title: Google API Client Libraries PHP - Remove unnecessary folders and files
body: <p>I just follow the instructions provided by google team, to communicate with the shopping API:</p>
  
  <pre><code>https://developers.google.com/api-client-library/php/auth/service-accounts
  </code></pre>
  
  <p>Everything works fine, I complete my integration (API for Shopping), nevertheless I realise now that when I download this google library, using composer:</p>
  
  <pre><code>composer require google/apiclient:^2.0
  </code></pre>
  
  <p>I have now around 6300 files to commit!!!</p>
  
  <p>So, I will like to try to remove what for sure I will not need, since I just use API for google Shopping.
  This is my current vendor/ ( or lib/) folders structures:</p>
  
  <p><a href="https://i.stack.imgur.com/35HJh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/35HJh.png" alt="enter image description here"></a></p>
  
  <p>This a sample of my code that is already working correctly:</p>
  
  <pre><code>require_once __DIR__.'/lib/autoload.php';
  
  $client = new Google_Client();
  putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json');
  $client-&gt;useApplicationDefaultCredentials();
  $client-&gt;setScopes('https://www.googleapis.com/auth/content');
  $client-&gt;fetchAccessTokenWithAssertion();
  
  $service = new Google_Service_ShoppingContent($client);
  </code></pre>
  
  <p>Even I never use some of features directly located in other folders (ex: monolog, etc), I'm not sure if they are or not necessary (I suppose not) for google api.</p>
  
  <p>So I will like to have confirmation, of the folders that could be removed safely and everything that allow google api shopping works correctly are not affected.</p>