Download the PHP package daikazu/eloquent-salesforce-objects without Composer
On this page you can find all versions of the php package daikazu/eloquent-salesforce-objects. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daikazu/eloquent-salesforce-objects
More information about daikazu/eloquent-salesforce-objects
Files in daikazu/eloquent-salesforce-objects
Package eloquent-salesforce-objects
Short Description A Laravel package that provides an Eloquent-style interface for interacting with Salesforce objects.
License MIT
Homepage https://github.com/daikazu/eloquent-salesforce-objects
Informations about the package eloquent-salesforce-objects
Eloquent Salesforce Objects
A Laravel package that lets you work with Salesforce objects using Eloquent syntax. Built on top of omniphx/forrest for authentication and API communication.
This package was heavily inspired by fabulous roblesterjr04/EloquentSalesForce, but written from the ground up with modern PHP 8.4+, full type safety, and a cleaner architecture. If you're migrating from that package, see the migration guide.
Features
- Eloquent-Style Models - Define Salesforce objects using familiar Laravel model syntax
- CRUD Operations - Create, read, update, and delete Salesforce records
- Relationships -
hasMany,belongsTo, andhasOne - Batch Queries - Execute multiple SOQL queries in a single API call
- Bulk Operations - Efficient bulk insert, update, and delete
- Aggregate Functions - COUNT, SUM, AVG, MIN, MAX
- Pagination - Built-in pagination with Laravel's paginator
- Apex REST - Call custom Apex REST endpoints
- Model Generator -
php artisan make:salesforce-modelscaffolds models from live Salesforce metadata
Requirements
- PHP 8.4+
- Laravel 12.0+
- Salesforce account with API access
Quick Start
Configure omniphx/forrest with your Salesforce credentials, then scaffold a model:
Or define one manually:
Query with familiar Eloquent syntax:
See the Quickstart Guide for a full walkthrough.
Documentation
Getting Started
- Installation
- Configuration
- Quickstart Guide
Core Concepts
- Model Generator - Scaffold models from live metadata
- Models - Defining and configuring models
- Querying Data - Building SOQL queries
- CRUD Operations - Create, read, update, delete
- Relationships - hasMany, belongsTo, hasOne
- Timestamps - Carbon date handling
Advanced
- Batch Queries - Multiple queries in one API call
- Bulk Operations - Bulk insert, update, delete
- Apex REST - Custom Apex REST endpoints
- Aggregate Functions - COUNT, SUM, AVG, MIN, MAX
- Pagination - Paginating results
Reference
- Configuration Reference
- Troubleshooting
- Migrating from EloquentSalesForce
Testing
Credits
- Mike Wall
- All Contributors
License
MIT. See LICENSE.
Need help? Check the open an issue.
All versions of eloquent-salesforce-objects with dependencies
spatie/laravel-package-tools Version ^1.92
illuminate/contracts Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
omniphx/forrest Version ^3.0