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
Simple Oauth Bundle

Simple Oauth Bundle Laravel Package

druidvav/simple-oauth-bundle

A lightweight OAuth bundle for PHP applications that simplifies integrating OAuth authentication with minimal configuration, providing a straightforward way to add third-party login support to your project.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Simple Oauth Bundle
Can I use druidvav/simple-oauth-bundle in a Laravel application?
It is a Symfony bundle, not a Laravel package, so direct use in Laravel requires a wrapper or extracting the OAuth logic. Laravel's container, routing, middleware, and auth guards differ significantly from Symfony's. For most Laravel apps, laravel/socialite or league/oauth2-client is a lower-risk choice.
How do I install druidvav/simple-oauth-bundle?
It is installed via Composer as druidvav/simple-oauth-bundle, but it is designed for Symfony applications. You would normally register the bundle in a Symfony kernel and configure it there. A Laravel-only install will not provide a native service provider or ready-made Laravel configuration.
Which Laravel and PHP versions are supported?
The bundle targets PHP 5.5 to 5.6 and has no documented Laravel version support. Modern Laravel releases require PHP 7.2 or newer, so compatibility work would be needed before use. You should run your own tests because the assessment notes no modern test suite or CI pipeline.
Does this package support OAuth 1.0a and OAuth 2.0?
The bundle is described as simplifying OAuth 1.0a and OAuth 2.0 flows with minimal configuration. That could be relevant for legacy providers or custom token endpoints, but provider-specific behavior must be validated. It does not replace a maintained Laravel OAuth client by default.
Is druidvav/simple-oauth-bundle maintained?
The package's last release was in 2016 and there is no reported activity, which suggests it is effectively abandoned. The assessment also notes no modern test suite or CI/CD pipeline. Using it in production would require forking and ongoing maintenance. Security patches for OAuth vulnerabilities would need to be backported by your team.
How does druidvav/simple-oauth-bundle compare to laravel/socialite?
Laravel Socialite is Laravel-native and integrates with Laravel's authentication and service container. This bundle is Symfony-oriented and lacks Laravel-specific integration. Only consider it if it supports a unique legacy OAuth flow that Socialite or league/oauth2-client cannot cover; otherwise Socialite is the lower-risk option.
Can I integrate it with Laravel using a service provider or middleware?
It is possible but high effort, typically requiring a wrapper layer around Symfony components or extraction of the OAuth logic. Symfony HttpFoundation and EventDispatcher conflict with Laravel's Illuminate equivalents, so you would need adapters or composer aliasing. The bundle also lacks documented PSR-15 middleware or PSR-11 container modularity. A cleaner path is often to port the OAuth request signing and token handling into Laravel's HttpClient or Socialite.
What are the production risks of using this bundle in Laravel?
The main risks are deprecation, missing security updates, and no Laravel-specific benchmarks or real-world validation. The assessment cites zero stars and dependents, so edge cases such as token refresh or PKCE would be unsupported. You would need to fork it, add tests, and monitor OAuth security advisories yourself.
How should I test an integration before using it in production?
Build a proof of concept for a minimal OAuth 2.0 flow, such as GitHub login, using a Symfony micro-app or Lumen bridge. Compare latency, memory usage, and error rates against laravel/socialite or league/oauth2-client. Add manual integration tests for invalid state, provider errors, and token refresh, since no Laravel-specific tests exist.
What are the alternatives for adding third-party login to Laravel?
The most common alternatives are laravel/socialite, league/oauth2-client, or guzzlehttp/guzzle with a manual OAuth implementation. Socialite is best for standard Laravel integrations, while league/oauth2-client is useful for custom providers. Use this Symfony bundle only if a unique legacy OAuth 1.0a or custom token endpoint requirement justifies the fork and maintenance cost.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core