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

Eloquent Salesforce Objects Laravel Package

daikazu/eloquent-salesforce-objects

Laravel Eloquent-style models for Salesforce sObjects. Query and sync Salesforce data using familiar Eloquent patterns, with object mapping and relationships to work with Accounts, Contacts, and more from your Laravel app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Unified Data Layer: Enables seamless integration of Salesforce data into Laravel applications, reducing the need for custom API wrappers or middleware. This supports a build vs. buy decision by avoiding reinventing Salesforce connectivity.
  • Developer Productivity: Accelerates development by leveraging Eloquent conventions (e.g., Model::find(), Model::all()) for Salesforce objects, reducing onboarding time for backend teams unfamiliar with Salesforce’s native API.
  • Roadmap for CRM Integration: Ideal for products targeting SMBs or enterprises with Salesforce adoption, enabling features like:
    • Real-time sync between Laravel apps and Salesforce (e.g., lead capture, order updates).
    • Custom workflows (e.g., triggering Salesforce actions from Laravel events).
    • Hybrid data pipelines (e.g., querying Salesforce for user profiles while using PostgreSQL for transactions).
  • Multi-Tenant SaaS: Simplifies tenant-specific Salesforce data access in shared Laravel environments (e.g., per-tenant Salesforce orgs).
  • Migration Path: Useful for teams migrating from standalone Salesforce apps to Laravel-based platforms or consolidating CRM data into a unified backend.

When to Consider This Package

  • Adopt if:
    • Your Laravel app heavily interacts with Salesforce (e.g., syncing leads, accounts, or custom objects).
    • Your team prefers Eloquent conventions over raw Salesforce REST API calls or the omniphx/forrest package directly.
    • You need quick prototyping of Salesforce-integrated features (e.g., MVP for a CRM plugin).
    • Your stack already uses Laravel + Eloquent, and you want to avoid context-switching between ORM and Salesforce SDKs.
  • Look elsewhere if:
    • You require advanced Salesforce features (e.g., Bulk API, Streaming API, or Apex triggers) not supported by this package.
    • Your use case involves high-frequency, low-latency Salesforce operations (e.g., real-time event processing) where a custom solution or dedicated SDK (e.g., salesforce/apex-rest-client) is better.
    • You’re using non-Laravel PHP frameworks (e.g., Symfony, Lumen) or need multi-language support.
    • Compliance or security policies mandate direct Salesforce API usage (e.g., audit trails, custom auth flows).
    • The package’s last release (2026-05-22) raises concerns about long-term maintenance (validate with the maintainer or fork if critical).

How to Pitch It (Stakeholders)

For Executives: "This package lets us treat Salesforce data like native Laravel models—cutting integration time by 50% while keeping our backend team productive. For example, we could sync customer records between our app and Salesforce in hours instead of weeks, enabling faster feature launches like automated lead routing or order status updates. It’s a low-risk way to unify our data layer without heavy custom development."

For Engineering: *"This wraps the omniphx/forrest package in Eloquent, so you can query Salesforce objects with familiar syntax (e.g., User::where('status', 'active')->get()). Key benefits:

  • No Salesforce API boilerplate: Forget manual REST calls or SOAP; use Eloquent relationships, events, and observers.
  • Leverages existing Laravel tooling: Works with migrations, factories, and testing (e.g., factory(User::class) for Salesforce test data).
  • Lightweight: Built on top of a stable base (forrest), with minimal overhead. Tradeoff: Limited to REST API features, but perfect for 80% of use cases. For edge cases, we can layer in custom logic."*

For Product/Design: *"This enables us to build CRM-powered features without exposing our team to Salesforce’s steep learning curve. For instance:

  • Lead capture: Auto-create Salesforce leads from form submissions in our app.
  • User profiles: Pull Salesforce account data to personalize dashboards.
  • Workflow automation: Trigger Salesforce actions (e.g., sending emails) from Laravel events. Example pitch: ‘Imagine letting sales teams see real-time deal stages in our app—no more context-switching to Salesforce.’"*
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.
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
noith/settings
kda/laravel-package