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, and hasOne
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-model scaffolds models from live Salesforce metadata