jacobkiers/oauth
OAuth 1 PHP library based on Andy Smith’s original implementation, forked via EHER. Includes request token support (reported working), with other flows not fully tested yet. Travis CI-enabled; suitable for experimenting with OAuth 1 signing and requests.
curl option changes).mysql_*), and lack of strict_types=1 support. Requires manual polyfills or downgrading to PHP 7.4.Auth::attempt(), guards).oauth_tokens table).cURL calls, requiring bridging with Laravel’s Http client or Guzzle.SameSite cookies).mbstring, openssl may need manual configuration).league/oauth2-client)?bind() vs. singleton()).$_GET/$_POST; Laravel uses Illuminate\Http\Request).php.ini tweaks for deprecated extensions (e.g., mysql_*).strict_types.Http client).Illuminate/Session for temporary tokens.Illuminate/Database for credential storage.Illuminate/Routing for OAuth callbacks./oauth/callback).oauth_request_tokens).oauth_access_tokens).league/oauth2-client).$_GET/$_POST; Laravel’s Request object requires manual parsing.session() helper)./oauth/callback); must integrate with Laravel’s router.mysql_* or ereg.| Phase | Task | Owner | Dependencies |
|---|---|---|---|
| Discovery | Confirm OAuth 1.0a requirement and endpoint compatibility. | PM/Dev | Business stakeholders |
| PoC | Test package in Laravel 7.4+ with PHP 7.4. | Dev | PHP 7.4+, cURL, OpenSSL |
| Architecture | Design custom service provider and middleware. | TPM/Dev | PoC results |
| Database | Create oauth_request_tokens and oauth_access_tokens tables. |
Dev | Laravel migrations |
| Implementation | Integrate OAuth flow into Laravel routes/controllers. | Dev | Database models, middleware |
| Security | Add HTTPS enforcement, CSRF protection, and signature validation. | Dev/Security | Laravel middleware |
| Testing | Manual + automated tests for OAuth flows. | QA/Dev | Test server, CI pipeline |
| Deployment | Roll out to staging, monitor for failures. | DevOps | Monitoring (Sentry/New Relic) |
| Maintenance | Plan for long-term support (e.g., security patches). | PM/Dev | Business continuity plan |
How can I help you explore Laravel packages today?