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

Salesforce Laravel Package

socialiteproviders/salesforce

View on GitHub
Deep Wiki
Context7

SalesForce OAuth2 Provider for Laravel Socialite

Frequently asked questions about Salesforce
What is socialiteproviders/salesforce used for?
It adds a Salesforce OAuth2 provider to Laravel Socialite so users can sign in to your Laravel application with Salesforce credentials. You still need Laravel Socialite installed and a Salesforce connected app configured with a callback URL. The package handles the OAuth redirect flow and returns the Salesforce user to your application.
How do I install socialiteproviders/salesforce in Laravel?
Install it with Composer using composer require socialiteproviders/salesforce. Then register the package service provider following the Socialite Providers installation instructions and add your Salesforce client ID, client secret, and redirect URI to your configuration. Check the package composer.json for the exact PHP and illuminate/support constraints before running the update.
Does socialiteproviders/salesforce support Laravel 9 and Laravel 10?
The 4.1.0 release note only mentions added PHP 8 support and does not state which Laravel versions are covered. PHP 8 compatibility alone does not imply Laravel 9 or Laravel 10 support, so inspect the composer.json require.illuminate/* constraints before assuming framework compatibility. Treat Laravel version support as a separate compatibility axis from PHP runtime support.
Which PHP versions does socialiteproviders/salesforce 4.1.0 support?
Version 4.1.0 adds PHP 8 to the supported matrix, but the release note does not specify which PHP 8 minor versions were tested. It also does not state whether PHP 7.x remains supported in the 4.x line. Verify the require.php constraint in composer.json and note that PHP 8.0 is already end-of-life, so testing on 8.1 or 8.2 is advisable.
Is it safe to upgrade to socialiteproviders/salesforce 4.1.0 on PHP 8.2?
The 4.1.0 release is a minor version bump that adds PHP 8 support, but the note does not confirm testing on PHP 8.2 specifically. Before promoting to production, run your existing test suite against 4.1.0 on your current PHP version, then repeat on PHP 8.2 in staging. Check the deprecation log is clean, not just that tests pass, because unresolved deprecations can become errors in future PHP releases.
How do I configure Salesforce OAuth credentials for Laravel Socialite?
Create a connected app in Salesforce and set its callback URL to your Laravel Socialite redirect route. Add the Salesforce consumer key and consumer secret to your services configuration, typically via environment variables referenced in config/services.php. Then pass the salesforce driver name when calling Socialite in your controller.
Can I use socialiteproviders/salesforce without Laravel Socialite?
No, this package is a provider plugin for Laravel Socialite and depends on Socialite being present. If you are not using Socialite, you would need to implement the Salesforce OAuth2 flow directly or use a different OAuth2 client library. For Laravel applications already using Socialite, it provides the Salesforce driver integration.
What are alternatives to socialiteproviders/salesforce?
Alternatives include writing a custom Socialite provider for Salesforce, using a general-purpose OAuth2 client library, or implementing the Salesforce OAuth2 flow manually. The socialiteproviders/salesforce package is the focused option when you want Salesforce login inside Laravel Socialite without custom provider code. Evaluate maintenance activity and PHP/Laravel constraints for whichever option you choose.
How should I test Salesforce login in a Laravel application?
Test the OAuth callback handling by mocking or faking the Socialite user response rather than hitting Salesforce on every test run. Use Salesforce sandbox credentials for manual integration testing of the connected app and redirect URI. Also run the package in your CI matrix across the PHP versions you intend to support.
Is socialiteproviders/salesforce actively maintained?
It is part of the socialiteproviders/providers monorepo, where many Socialite providers are maintained together. Check the repository releases and commit history for recent activity before adopting it. The 4.1.0 release is a minor compatibility-focused update, so review the changelog and dependency manifest for details beyond the one-line release note.
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.
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
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle