Move the downloaded file to your working directory

$client = new Google_Client(); $client->setAuthConfig('/path/to/client_credentials.json');. You can put the file whatever you want, but only set the 

The following code retrieves the file called "log.txt", its contents are read using the FileReader API and appended to a new