title: How do I use Composer to setup google-api-php-client?
body: <p>There seems to be some gaps in the instructions, a little help?</p>
  
  <p>Step 1: <a href="https://developers.google.com/api-client-library/php/" rel="nofollow"><strong>Easily</strong> access Google APIs from PHP</a>, sounds easy!</p>
  
  <p>Step 2: <a href="https://developers.google.com/api-client-library/php/start/installation" rel="nofollow">Install the library</a>, you can install the library by adding it as a dependency to your "composer.json". Never heard of composer, never used json. All I need to do is add "require": {"google/apiclient": "1.0.*@beta"} to my composer.json</p>
  
  <p>Step 3: <a href="https://getcomposer.org/" rel="nofollow">Composer</a> requires Linux, but isn't the whole point of using App Engine so I don't have to deal with Linux? Ok, setup Debian on Compute Engine and added the following, "sudo curl -sS <a href="https://getcomposer.org/installer" rel="nofollow">https://getcomposer.org/installer</a> | sudo php -- --install-dir=/usr/local/bin --filename=composer" per the instructions.</p>
  
  <p>Step 4: <a href="https://getcomposer.org/doc/01-basic-usage.md" rel="nofollow">Composer Basic usage</a>... all the Google web page says to do is add the following to Composer, "require": {"google/apiclient": "1.0.*@beta"} so that's of no help. The instructions on the page say the following, </p>
  
  <blockquote>
    <p>To start using Composer in your project, all you need is a
    composer.json file. This file describes the dependencies of your
    project and may contain other metadata as well.</p>
  </blockquote>
  
  <p>They conveniently forget to explain where/what is the composer.json file? Is this just something people automatically know?</p>
  
  <p>I just want to start using the gogole-api-php-client, but the autoload.php file is gone from their website, and when I try to do it manually it keeps saying I am missing GuzzleHttp/Collection. So I thought I would try to put it together in Composer because it's so "easy". Does anyone know of a simple set of steps/instructions to plow through this without spending the next 10 hours learning json, composer, and linux? Does anyone actually have this thing working, because I'm starting to think it doesn't even work. Both of these websites need to take ease off on their overuse of the words "easy" and "simple" because I don't think they understand the meaning of those words. "Excessively complicated" and "extremely vague" would suit them better.</p>