Registry / auth / league-oauth2-google

league-oauth2-google

JSON →
library5.0.0phppackagistunverified

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client.

composer require league/oauth2-google
INSTALL
IMPORT
SIG · LEAGUE-OAUTH2-GOOG
L
league-oauth2-google
authphpv5.0.0
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.

Google
use League\OAuth2\Client\Provider\Google;

Creates a Google OAuth2 provider and generates an authorization URL.

use League\OAuth2\Client\Provider\Google; $provider = new Google([ 'clientId' => 'your-client-id', 'clientSecret' => 'your-client-secret', 'redirectUri' => 'https://example.com/callback-url', ]); $authUrl = $provider->getAuthorizationUrl();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
league-oauth2-google — pip install league-oauth2-google · libregistry