Weave Code
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
Force Toolkit

Force Toolkit Laravel Package

codemitte/force-toolkit

PHP 5.3 Force.com toolkit package for integrating with Salesforce APIs. Includes authentication and core helpers; see the CodemitteForceToolkitBundle documentation for usage and configuration details.

View on GitHub
Deep Wiki
Context7

Force.com Toolkit for PHP 5.3, based on the standard PHP soap extension, completely rewritten from scratch.

Frequently asked questions about Force Toolkit
Can I use this package with Laravel 10+ (PHP 8.1+)?
No, this package is hardcoded for PHP 5.3 and will not work with Laravel 10+. You’d need a Dockerized PHP 5.3 container or a forked, modernized version, but neither is officially supported or maintained.
Does this toolkit support modern Salesforce APIs like REST, Bulk API v2.0, or OAuth 2.0?
No, it only supports the deprecated SOAP API and lacks OAuth 2.0/JWT authentication. Salesforce no longer recommends username/password auth, and modern APIs like Bulk API v2.0 or Composite API are unsupported.
How do I integrate this with Laravel’s Eloquent ORM or Service Container?
You cannot directly integrate it. You’ll need to manually bridge the toolkit’s procedural style with Laravel by creating a facade, service class, or middleware to wrap its calls and inject dependencies.
What’s the best workaround for PHP 5.3 incompatibility in Laravel?
Isolate the toolkit in a separate microservice or Docker container running PHP 5.3, but this adds complexity. Alternatively, migrate to the official Salesforce PHP SDK (forcedotcom/php-sdk), which supports modern Laravel versions.
Will this package work for real-time Salesforce sync or customer-facing integrations?
No, it’s not designed for scalability or real-time use. The lack of Laravel Queue/Job support means Salesforce calls will block execution, and the procedural style clashes with Laravel’s event-driven architecture.
How do I handle authentication securely with this toolkit?
The toolkit uses deprecated username/password auth, which violates Salesforce’s security standards. You’d need to manually implement OAuth 2.0/JWT flows or use Laravel’s config/env files to store credentials insecurely.
Are there alternatives to this package that work with Laravel?
Yes, use the official Salesforce PHP SDK (forcedotcom/php-sdk) or Laravel-specific packages like laravel-salesforce. These support REST APIs, OAuth 2.0, and integrate natively with Laravel’s DI container.
How do I test this package in a Laravel application?
Testing is challenging due to PHP 5.3 constraints. Mock Salesforce responses in unit tests, but integration tests may require a Dockerized environment. Expect manual setup for authentication and API calls.
What maintenance risks does this package pose in production?
High risks: PHP 5.3 has unpatched security vulnerabilities, Salesforce APIs are deprecated, and no active maintenance means future compatibility breaks. Plan for a migration to a modern SDK.
Can I use this for a quick prototype or internal tool instead of a full Laravel app?
Yes, but only if you accept the risks. For prototypes, isolate it in a container or microservice. For internal tools, weigh the effort of manual Laravel integration against the toolkit’s limitations.
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.
bugban/symfony
beyonder-capi/workflow-extensions-bundle
beyonder-capi/job-queue-bundle
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin