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 Bundle

Oauth Bundle Laravel Package

ruvents/oauth-bundle

ruvents/oauth-bundle is a Symfony bundle that integrates OAuth authentication into your application. It offers services for connecting OAuth providers and handling authorization flows, giving Symfony apps a starting point for social login, with limited maintenance and community activity.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Oauth Bundle
Is ruvents/oauth-bundle compatible with Laravel?
No, not natively. ruvents/oauth-bundle is built as a Symfony bundle, so its service definitions, bundle registration and configuration loading follow Symfony conventions rather than Laravel's service container and package discovery. Laravel does not automatically boot Symfony bundles, so you would need to wire the underlying services manually. For most Laravel projects, Laravel Socialite is the far more direct choice.
How do I install ruvents/oauth-bundle with Composer?
You install it through Composer using the package name ruvents/oauth-bundle. In a Symfony application you then register the bundle in your kernel or bundles configuration file. In a Laravel application, installing it via Composer will not register any service providers automatically, so additional manual wiring is required. Check the repository README for the exact registration steps before assuming it will work out of the box.
What OAuth providers does this bundle support?
The bundle provides services for connecting OAuth providers and handling authorization flows, rather than shipping a fixed list of pre-built integrations. The exact providers depend on the configuration you supply and the underlying OAuth client services it exposes. Review the source and README in the repository to confirm whether your target provider fits the supported flow. If your provider is not covered, you may need to write your own adapter.
Can I use ruvents/oauth-bundle for social login in a Laravel app?
You can in theory, but it is not the intended path. The bundle targets Symfony and does not offer a Laravel service provider, facade, or config publishing, which are the pieces Laravel developers expect for social login. Using it would mean manually binding Symfony-style services into Laravel's container and handling the authorization flow yourself. Laravel Socialite is purpose-built for this and avoids that friction.
How is OAuth configuration handled in this bundle?
Because it is a Symfony bundle, configuration is typically provided through Symfony bundle configuration and the Symfony service container rather than Laravel's config files or environment helper. Client credentials and provider settings live in that Symfony configuration layer. To use it in Laravel you would need to replicate that configuration manually. Always keep client secrets out of version control and load them from environment variables.
Is ruvents/oauth-bundle actively maintained?
The package shows limited maintenance and community activity, which is an important signal when evaluating it. Sparse releases and few contributors mean security fixes and compatibility updates with newer PHP or framework versions may lag. Before adopting it, check the commit history, open issues, and last release date on the repository. For production work, weigh that risk against a better-maintained alternative.
How do I test OAuth flows built with this bundle?
OAuth flows are best tested by mocking the HTTP client or provider service so you never hit a real authorization server in tests. Since the bundle exposes services for connecting providers and handling authorization, you can substitute those services with test doubles in the container. In Laravel, that means binding fakes into the service container and asserting the callback handling logic. Focus test coverage on token exchange, state validation, and error paths.
What should I be careful about when using this bundle in production?
The main concerns are maintenance risk and integration mismatch. A Symfony bundle used inside Laravel means manual service wiring, which can break silently on dependency updates. Confirm that the package supports your PHP version and that its OAuth flow validates state and redirect URIs correctly. Pin the dependency version and review the codebase before relying on it for authentication.
What are the alternatives to ruvents/oauth-bundle for Laravel developers?
For Laravel, Laravel Socialite is the standard solution and covers OAuth social login with official providers plus community drivers. If you need a full OAuth2 server rather than a client, packages like Laravel Passport or league/oauth2-server are common choices. The league/oauth2-client library is also a solid lower-level option that works well outside Symfony. All of these have active maintenance and Laravel-friendly integration.
Which Laravel and PHP versions does this bundle support?
There is no Laravel version support to speak of, because the package is a Symfony bundle and does not declare Laravel framework constraints. PHP compatibility is defined by the package's own composer.json requirements, which you should read before installing. Given the limited maintenance activity, verify the declared PHP constraint matches your runtime. If it targets an older PHP branch, expect friction on modern Laravel stacks.
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource