Registry / auth / overtrue-socialite

overtrue-socialite

JSON →
library4.14.2phppackagistunverified

A collection of OAuth 2 packages.

composer require overtrue/socialite
INSTALL
IMPORT
SIG · OVERTRUE-SOCIALITE
O
overtrue-socialite
authphpv4.14.2
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.

SocialiteManager
use Overtrue\Socialite\SocialiteManager;

Authenticate a user via GitHub OAuth.

use Overtrue\Socialite\SocialiteManager; $config = [ 'github' => [ 'client_id' => '...', 'client_secret' => '...', 'redirect' => 'https://example.com/callback', ], ]; $manager = new SocialiteManager($config); $user = $manager->driver('github')->user();
Debug
Known issues
breakingBreaking change in v4: drivers are now classes, not strings.
fix
Update driver configuration to use class names.
affects: >=4.0.0
Upgrade
Version history
4.14.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
overtrue-socialite — pip install overtrue-socialite · libregistry