Download the PHP package setechsolutions/eloquent-sales-force without Composer

On this page you can find all versions of the php package setechsolutions/eloquent-sales-force. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package eloquent-sales-force


Tests Latest Stable Version License

Eloquent Salesforce

Work with Salesforce objects the way you work with Eloquent models: query, create, update, delete and relate them with the API you already know. The package translates Eloquent queries to SOQL and talks to the Salesforce REST API for you.

This is the maintained continuation of roblesterjr04/EloquentSalesForce by Rob Lester, which stopped at Laravel 11. Version 3 supports Laravel 12 and 13 and can replace rob-lester-jr04/eloquent-sales-force without code changes: the original class names keep working.

Requirements

Package version Laravel PHP
3.x 12, 13 8.2+ (8.3+ for Laravel 13)

For Laravel 11 and older, use the original package.

Installation

A fresh Laravel 13 application ships with Guzzle 8, while the Salesforce client this package builds on still needs Guzzle 7. If Composer reports a conflict on guzzlehttp/guzzle, add -W so it may switch to Guzzle 7, which Laravel 13 supports as well:

Add your connected app's credentials to .env:

Then create a model:

Coming from the original package

Your code keeps working: the Lester\EloquentSalesForce\* class names, the eloquent_sf config file, the SObjects facade and a soql connection in config/database.php are all still supported.

Worth knowing before you deploy:

Everything that is new or changed is on one page: New in version 3+. Step-by-step details are in UPGRADE.md.

Documentation

The full guide is at setechsolutions.github.io/eloquent-sales-force, and in docs/README.md.

Testing your application

Swap Salesforce for an in-memory fake, stub what queries return, and assert on what was written:

Contributing

Bug reports and pull requests are welcome. See CONTRIBUTING.md. The test suite runs offline, so you do not need a Salesforce org to contribute.

Security

Please report vulnerabilities privately; see SECURITY.md.

Credits

License

MIT. See LICENSE.


All versions of eloquent-sales-force with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.0 || ^13.0
omniphx/forrest Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package setechsolutions/eloquent-sales-force contains the following files

Loading the files please wait ...