league/oauth1-client
RFC 5849-compliant OAuth 1.0 client library for PHP (7.1+). Authenticate with OAuth 1 servers and make signed requests. Built-in providers include Twitter, Trello, Tumblr, Bitbucket, Magento, Uservoice, and Xing; easy to add more.
Architecture fit: The package is PSR-2 compliant and uses Guzzle (Laravel's default HTTP client), making it highly compatible with Laravel's ecosystem. It provides standardized OAuth 1.0 implementation without framework-specific dependencies, requiring only minimal adapter code for Laravel's session and DI container. However, it lacks native Laravel service providers or facade support, necessitating manual integration.
Integration feasibility: Straightforward Composer installation and basic usage patterns align with Laravel conventions. The provider-specific implementations (e.g., Twitter, Trello) simplify provider setup, but the OAuth flow requires custom controller logic for session management and callback handling. The package's stateless design fits Laravel's request lifecycle but demands careful session storage for temporary credentials.
Technical risk: High due to inactivity (last release Aug 2021), 0 direct dependents, and potential security vulnerabilities in legacy code. OAuth 1.0 is largely deprecated (e.g., Twitter officially supports OAuth 2.0), risking compatibility with modern services. PHP 8.4 compatibility fixes in v
How can I help you explore Laravel packages today?