Mike
Mike

Reputation: 257

The google-api-php-client autoupload.php file is missing, anyone have a copy?

Here's the code, https://github.com/google/google-api-php-client/

Here's the file that's missing, https://github.com/google/google-api-php-client/blob/master/src/Google/autoload.php

I know it's possible to create this file with composer, but was just wondering if anyone has it available.

I'm also concerned that this alone might not make the software work, as I've tried to do it the manual way and the Class it can't reference is "GuzzleHttp\Collection" which is accessed in PHP with "use GuzzleHttp\Collection". I don't know how adding "autoload.php" will help referencing a file that's not part of the "google-api-php-client".

Does anyone actually have this software working in PHP, it says Beta?

Upvotes: 0

Views: 190

Answers (2)

Max
Max

Reputation: 701

This file should be load from vendor directory

// include your composer dependencies
require_once 'vendor/autoload.php';

Upvotes: 0

Related Questions