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
Upgrade
Version history
1.11.0latest on Packagist
Audit
Dependencies
No dependency data recorded yet.