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 4 Laravel Laravel Package

artdarek/oauth-4-laravel

A Laravel wrapper for OAuth 1 and OAuth 2 authentication, making it easy to add social logins such as Facebook, Google, Twitter, and GitHub to your app with a simple, fluent API built on the popular lusitanian/oauth library.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Social/third-party login feature scoping. The package answers "how do we let users sign in with Google/GitHub/Twitter or authorize against a third-party API" for apps on Laravel 4, wrapping the oauth-php client library behind a service provider and facade. It informs whether that feature is a config-and-config-file task versus custom HTTP signing work.
  • Build vs. buy on OAuth. OAuth flows are security-sensitive; hand-rolling request signing, token refresh, and nonce/state handling is error-prone. This package is the "buy" (composer install) option for Laravel 4 — a PM call to adopt a dependency rather than own the crypto and protocol edge cases.
  • Maintenance-vs-modernization roadmap. Selecting this package is an implicit signal that the product is on a legacy, end-of-life framework (Laravel 4 is EOL, PHP 5-era). It creates a concrete decision point: fund a framework upgrade now, or accept short-term dependency risk to ship auth quickly.
  • Use-case fit. Best suited to apps that need OAuth client behavior (obtain tokens from providers) — social login, connecting to internal tools behind SSO, importing data from services that expose OAuth APIs. It is not an OAuth authorization server for your own API; that's a different product decision (Passport/Sanctum in modern Laravel).
  • Risk budget. With ~677 stars but a low overall score and no active maintenance, adoption should be booked as technical debt, not a platform investment. If auth is on the critical path for compliance or revenue, this changes the decision toward migration.

When to Consider This Package

Consider it when:

  • You have an existing Laravel 4 application that must keep running and needs OAuth client integration quickly; adding this is cheaper and lower-risk than writing and maintaining signing/refresh logic in-house.
  • Your team is intentionally in maintenance mode and a framework upgrade is not on the near-term roadmap.
  • You need OAuth 1.0a-style flows against older providers that newer abstractions no longer cover.
  • You can vendor, pin, and patch the dependency internally, and someone owns reviewing it before it touches auth flows.

Look elsewhere when:

  • The project is new or on Laravel 5+. Use first-party Laravel Socialite, or league/oauth2-client for framework-agnostic work — both actively maintained with modern PHP support.
  • You need to expose OAuth as a provider for your own API — use Passport/Sanctum, not this.
  • Security, audit, or compliance requirements apply. An unmaintained, EOL-framework package is a red flag for supply-chain and patch-response reviews.
  • You require current PHP (7/8+) or ongoing bug/security fixes; expect to fork.

How to Pitch It (Stakeholders)

To executives: This is a small, low-cost bridge for adding third-party sign-in to an older Laravel application — a tactical enabler, not a strategic platform bet. It shortens time-to-market for an auth feature, but it sits on an end-of-life framework and an unmaintained library, so treat it as interim. Recommendation: approve only for maintenance/legacy needs, contain the blast radius (pin versions, vendor the code), and earmark budget for a modernization path.

To engineering: Composer-installable service provider + facade over oauth-php; config-driven provider credentials; fast to wire up for social login. Caveats: no active maintenance, no modern PHP/Laravel support, and unknown future security patches. We should pin and review the dependency, own a fork if we depend on it, and document the migration target (Socialite or league/oauth2-client) so this doesn't become load-bearing technical debt.

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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log