Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Oauth Laravel Package

lusitanian/oauth

A PHP library for OAuth 1 and OAuth 2 authentication, offering ready-made service wrappers for dozens of providers like Google, Facebook, Twitter, and GitHub. It handles token requests, refreshes, and API calls, and integrates with Laravel via a service provider and facade.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for third-party integrations: Helps answer “Can we add social login, calendar sync, CRM connection, or content publishing without building OAuth flows from scratch?”
  • Build vs. buy: Provides a ready-made OAuth 1/2 client layer so the team can avoid implementing authorization redirects, token exchange, refresh handling, and provider quirks for common services.
  • Roadmap acceleration for MVPs and internal tools: Useful for short-lived prototypes, admin dashboards, back-office automations, and low-risk read-only integrations where speed matters more than long-term dependency strategy.
  • Legacy modernization planning: Can act as a bridge for older PHP 5.3+ applications that need OAuth connectivity before a broader Laravel/PHP upgrade.
  • Platform abstraction decision: PM can use it to evaluate whether a generic OAuth client is enough or whether provider-specific SDKs are needed for deeper API capabilities.
  • Risk and compliance review trigger: The 2018 last release, NOASSERTION license metadata, and low current ecosystem signal should force explicit decisions on maintenance ownership, legal review, and security posture.

When to Consider This Package

Consider it when:

  • You are maintaining a legacy PHP application on PHP 5.3+ that needs OAuth 1/2 connectivity and cannot immediately adopt modern dependencies.
  • You need a time-boxed proof of concept or internal integration and can accept an older, unmaintained dependency.
  • You need OAuth 1 support for a legacy provider and do not want to implement the signing flow yourself.
  • You can wrap the library behind your own adapter so token storage, refresh scheduling, error handling, and provider configuration remain under product/engineering control.
  • Legal and security can review and accept the license ambiguity and maintenance risk, or the team is prepared to fork/vendor and own the code.

Look elsewhere when:

  • You are building on modern Laravel/PHP 8+ and need a maintained, security-reviewed dependency.
  • The use case is primarily social login in Laravel; evaluate Laravel Socialite first.
  • You need a generic, actively maintained OAuth 2 client; evaluate league/oauth2-client and provider packages.
  • You need provider-specific API depth, webhooks, rate-limit handling, or SDK support; use the provider’s official SDK.
  • You need an OAuth server rather than a client; this package does not solve that.
  • The integration is customer-facing, regulated, or long-lived and cannot tolerate an unmaintained dependency.

How to Pitch It (Stakeholders)

Executive summary: This package can reduce delivery time for OAuth-based integrations by providing a prebuilt client for OAuth 1/2 flows. It is best treated as a tactical accelerator or legacy bridge, not a strategic platform dependency. The main concerns are that it has not been released since 2018, its license metadata is unclear, and it lacks modern Laravel integration. Recommendation: use only behind an internal abstraction, with legal/security review and a clear migration or fork plan; otherwise prefer Laravel Socialite, League OAuth2, or official provider SDKs.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator