guzzlehttp/oauth-subscriber
Guzzle middleware that signs HTTP requests with OAuth 1.0. Compatible with Guzzle 7.10+ and PHP 7.2.5+. Configure consumer/token secrets once on a HandlerStack, then enable per request (auth=oauth) or globally, with optional per-request token override.
oauth request option.Adopt If:
Look Elsewhere If:
league/oauth2-client or similar).For Executives: "This package lets us securely integrate with legacy OAuth 1.0 APIs (e.g., Twitter, payment processors) without building custom auth logic. It’s maintained by the Guzzle team, reduces security risks (e.g., fixed nonce vulnerabilities), and cuts development time by 30%+ compared to rolling our own solution. The MIT license and zero dependencies keep costs low."
For Engineering: *"Leverage Guzzle’s middleware to auto-sign OAuth 1.0 requests with minimal boilerplate. Key benefits:
oauth option.
Tradeoff: Limited to OAuth 1.0; not a drop-in for OAuth 2.0. Recommended for APIs like Twitter v1.1 or legacy systems."*For Security: *"This package mitigates OAuth 1.0 risks by:
How can I help you explore Laravel packages today?