Registry / auth / league-oauth1-client

league-oauth1-client

JSON →
library1.11.0phppackagistunverified

OAuth 1.0 Client Library for PHP.

composer require league/oauth1-client
INSTALL
IMPORT
SIG · LEAGUE-OAUTH1-CLIE
L
league-oauth1-client
authphpv1.11.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.

Twitter
use League\OAuth1\Client\Server\Twitter;

Authenticate with Twitter using OAuth 1.0.

use League\OAuth1\Client\Server\Twitter; $server = new Twitter([ 'identifier' => 'your_consumer_key', 'secret' => 'your_consumer_secret', 'callback_uri' => 'https://example.com/callback', ]); $temporaryCredentials = $server->getTemporaryCredentials(); // Redirect user to authorization URL
Debug
Known issues
gotchaOAuth 1.0 is outdated; prefer OAuth 2.0 for new integrations.
fix
Use league/oauth2-client for OAuth 2.0 flows.
affects: *
Upgrade
Version history
1.11.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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