Registry / auth / google-apiclient

google-apiclient

JSON →
library2.19.3phppackagistunverified

Client library for Google APIs

composer require google/apiclient
INSTALL
IMPORT
SIG · GOOGLE-APICLIENT
G
google-apiclient
authphpv2.19.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Google\Client;

Initialize a Google API client with OAuth 2.0

use Google\Client; $client = new Client(); $client->setApplicationName('My App'); $client->setScopes([Google_Service_Sheets::SPREADSHEETS]); $client->setAuthConfig('credentials.json');
Debug
Known issues
breakingRequires PHP 8.0+ and the JSON extension
fix
Ensure PHP 8.0+ is installed with the json extension enabled
affects: >=2.0.0
Upgrade
Version history
2.19.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
google-apiclient — pip install google-apiclient · libregistry