unowmooc/salesforce-php-client

This package is abandoned and no longer maintained. No replacement package was suggested.

Salesforce PHP client

2.0.1 2018-04-26 09:48 UTC

README

Simple PHP client for Salesforce API

Installation

$ composer require unowmooc/salesforce-php-client

Usage:

<?php

use Salesforce\Salesforce;

$clientId = '...';
$secret = '...';
$username = '...';
$password = '...';

$client = new Salesforce($clientId, $secret, $username, $password);

$user = $client->user()->find('user_id');

$opportunities = $client->opportunity()->findAll('list_view_id', ['limit' => 25, 'offset' => 0]);