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

Force Dot Com Toolkit For Php Laravel Package

davispeixoto/force-dot-com-toolkit-for-php

A PHP toolkit for integrating Salesforce Force.com into Laravel or standalone PHP apps, with convenient clients and helpers for authentication, querying, and working with Salesforce data.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Poor. Despite being framed as a Laravel/PHP package, this is a generic PHP SOAP wrapper for the Force.com Web Services API, not a Laravel-native integration. There is no evidence of a service provider, facade, publishable config, dependency injection bindings, or Laravel-oriented error handling. Adopting it means building the Laravel integration layer yourself.

Integration feasibility: Low. The package has 5 stars, 0 dependents, a low adoption score (0.355), and an unclear license (NOASSERTION). Those are strong signals that it is not a proven dependency. SOAP integration is technically possible but requires ext-soap, WSDL handling, Salesforce authentication, session management, and custom fault mapping. The lack of dependents means there is little public evidence of production use.

Technical risk: High.

  • License risk: NOASSERTION must be resolved before commercial use; legal review is a hard gate.
  • Maintenance risk: No visible community, low stars, zero dependents, and likely stale Salesforce API version assumptions.
  • Protocol risk: SOAP is still supported by Salesforce but is not where new Salesforce capabilities land first; REST, Bulk API 2.0, GraphQL, and Platform Events are the strategic paths.
  • Security risk: SOAP session handling, credential storage, connected app/OAuth requirements, MFA, and IP restrictions need careful design.
  • Quality risk: Unknown test coverage, PHP/Laravel version compatibility, WSDL update process, and error-handling maturity.

TPM recommendation: Do not adopt as a strategic dependency for new Laravel work. Use only behind a strict adapter if a legacy Salesforce SOAP constraint forces it, and pair adoption with an explicit exit plan.

Key questions:

  • What is the actual license, and can legal approve it?
  • Which Salesforce API version and WSDL does the wrapper target?
  • Does it support OAuth 2.0 connected apps, or only SOAP login() session IDs?
  • Is it compatible with current PHP 8.x and supported Laravel versions?
  • What is the test coverage, and are there reproducible integration tests against a Salesforce sandbox?
  • Who maintains it, and what is the response history for issues/security fixes?
  • Does it support bulk operations, async callouts, retries, and SOAP fault mapping?
  • What is the migration path to Salesforce REST/Bulk APIs if SOAP is deprecated or constrained?

Integration Approach

Stack fit: Weak for a Laravel codebase. The package would need to be wrapped in a Laravel service provider, configured through environment variables, and hidden behind an application-owned interface. Do not let package-specific SOAP types, WSDL clients, or session objects leak into domain code.

Migration path: Treat the package as a temporary transport adapter, not a foundation.

  1. Define an internal SalesforceClient contract for the operations you actually need.
  2. Implement a SoapForceComAdapter around this package.
  3. Add contract tests against a Salesforce sandbox.
  4. Keep a parallel path open for a REST/Bulk API adapter or a maintained Salesforce SDK.
  5. Replace the adapter without changing application services when a better transport is available.

Compatibility: Verify before any spike:

  • PHP version and ext-soap availability in local, CI, and production images.
  • Laravel version compatibility; expect to build your own integration.
  • Salesforce API version support and WSDL compatibility.
  • Authentication model against your Salesforce org security policies.
  • TLS, proxy, and network egress requirements.

Sequencing:

  1. License and legal gate — stop if NOASSERTION cannot be resolved.
  2. Technical spike — authenticate to a sandbox, perform one read and one write, measure error handling.
  3. Adapter design — isolate the package behind an application-owned interface.
  4. Contract tests — cover authentication failure, SOAP fault, timeout, and API limit responses.
  5. Pilot — one low-risk integration with monitoring and rollback.
  6. Decision gate — continue only if the package proves stable and a credible exit path exists.

Operational Impact

Maintenance: High burden. With 5 stars, 0 dependents, and no clear license, the team should assume it will own the wrapper, WSDL updates, PHP compatibility, and security patches. This is effectively a fork-and-maintain decision, not a normal dependency adoption.

Support: Minimal. There is no meaningful community or dependent ecosystem to rely on for answers. Salesforce SOAP issues will require internal Salesforce expertise plus PHP SOAP debugging skills.

Scaling: Constrained. SOAP calls are synchronous and consume Salesforce API limits. Bulk data movement, high-volume sync, and near-real-time integration should use Bulk API 2.0, REST composite APIs, or Platform Events rather than a thin SOAP wrapper. Expect rate limits, payload limits, and timeout tuning to become operational concerns.

Failure modes:

  • Salesforce session expiry or authentication policy changes.
  • SOAP faults that are poorly mapped into application errors.
  • Salesforce API version retirement or WSDL changes.
  • Timeouts and memory pressure on large SOAP responses.
  • Silent failures if retries and idempotency are not designed.
  • Security exposure from credential/session handling.
  • Package abandonment with no upstream fixes.

Ramp-up: High. Laravel developers may be productive quickly in PHP but will need Salesforce SOAP, WSDL, session, and governor-limit knowledge. Budget for Salesforce sandbox access, integration testing, observability, and runbook creation. For a TPM, the operational cost likely exceeds the value of a 5-star, zero-dependent wrapper unless a legacy SOAP constraint leaves no alternative.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin