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 Bundle

Salesforce Bundle Laravel Package

php-arsenal/salesforce-bundle

A Symfony bundle for PHP applications that streamlines Salesforce REST API integration with reusable clients, authentication support, and helpers for working with Salesforce objects, records, and SOQL queries.

View on GitHub
Deep Wiki
Context7

Symfony bundle for the Salesforce SOAP client.

Frequently asked questions about Salesforce Bundle
How do I install php-arsenal/salesforce-bundle in a Symfony app?
Install it with Composer using composer require php-arsenal/salesforce-bundle, then register the bundle in your Symfony application. In a Symfony Flex app this is usually handled by the recipe or bundles.php; otherwise enable it in Kernel. After registration, configure your Salesforce credentials and inject the client where needed.
Can I use php-arsenal/salesforce-bundle in a Laravel application?
No, this package is a Symfony bundle and depends on Symfony's bundle and dependency injection integration. Laravel does not register Symfony bundles, so the package is not a drop-in Laravel solution. Laravel teams should use a Laravel-specific Salesforce package or wire the underlying php-arsenal Salesforce client manually through a service provider.
How do I configure Salesforce credentials for php-arsenal/salesforce-bundle?
Credentials are provided through the bundle configuration so you can define them once and let the container build the client. Use environment variables or Symfony secrets for usernames, passwords, tokens, and endpoint settings rather than committing them. Keep separate configuration for sandbox and production Salesforce orgs.
How do I autowire or inject the Salesforce client into a Symfony service?
Register the bundle and configure credentials, then type-hint the client service in your constructor or controller action and let Symfony autowiring resolve it. The bundle's service registration is intended to provide a ready-to-use client via the container. If you use a custom client class, confirm the service alias or bind it explicitly.
What Salesforce operations does this bundle support?
The bundle exposes the php-arsenal Salesforce client, which supports Salesforce REST API access for querying and managing records. You can run SOQL queries and use helpers for working with Salesforce objects and records from services or controllers. It is an integration layer, so available operations follow the underlying client's API.
Is php-arsenal/salesforce-bundle compatible with Laravel 10 or 11?
No, it is built as a Symfony bundle, not a Laravel package, and Laravel 10 or 11 will not load Symfony bundle configuration automatically. You would not get the bundle's container integration in Laravel. For Laravel 10 or 11, choose a Laravel Salesforce package or build a custom integration around the php-arsenal client.
How should I test code that uses php-arsenal/salesforce-bundle?
Unit-test your services by injecting a mocked or fake Salesforce client instead of calling the live API. Keep most tests focused on your business logic and use Symfony's container test tools to verify wiring. Reserve integration tests for a Salesforce sandbox and keep credentials out of the test suite.
What production concerns should I check before using this bundle?
Store Salesforce credentials in environment variables or a secrets manager, not in source control. Confirm how the underlying client handles authentication refresh, API limits, retries, and logging before going live. Test against a sandbox org first and monitor API usage after deployment.
What are alternatives to php-arsenal/salesforce-bundle for Laravel developers?
Laravel developers can use Laravel-oriented Salesforce packages, call the Salesforce REST API directly with Laravel's HTTP client, or integrate the php-arsenal Salesforce client through a custom Laravel service provider. The bundle itself is Symfony-specific, so its main value is container configuration and service registration in Symfony. Compare maintenance activity and supported API features before choosing.
How actively is php-arsenal/salesforce-bundle maintained and which Symfony versions are supported?
Check the GitHub repository and Packagist metadata for the latest release date and the composer.json Symfony version constraints. The bundle's supported Symfony range depends on those constraints and on the underlying php-arsenal Salesforce client. Before upgrading Symfony, verify compatibility and run your integration tests against a sandbox.
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