guzzlehttp/oauth-subscriber
Guzzle middleware for OAuth 1.0 request signing (consumer key/secret + token/secret) compatible with Guzzle 7.11+ and PHP 7.2.5+. Add to a HandlerStack, set auth=oauth, and optionally override token credentials per request.
oauth option) simplifies partner API integrations or tenant-isolated auth flows.Adopt If:
Look Elsewhere If:
league/oauth2-client or Laravel’s built-in OAuth2 support).abraham/twitteroauth).For Executives: "This package resolves a critical gap for teams relying on OAuth 1.0 APIs (e.g., legacy Twitter, payment processors) while ensuring smooth upgrades to PHP 8.5. By adopting this maintained, MIT-licensed solution, we eliminate custom OAuth code—reducing security risks (e.g., nonce entropy fixes) and development time by 40%. The PHP 8.5 compatibility fix alone prevents runtime warnings that could disrupt production systems. With zero dependencies and Guzzle’s middleware integration, it’s a low-risk, high-reward choice for modernizing legacy integrations."
For Engineering: *"Use this package to:
HttpClient).oauth option.ext-openssl.
Recommendation: Prefer this over custom code for OAuth 1.0. Pair with Guzzle’s retry middleware for token refreshes."*For Security: *"This package mitigates OAuth 1.0 risks by:
.env or a vault (never hardcoded).401 Unauthorized)."*For Product Managers: *"This enables:
How can I help you explore Laravel packages today?