ronster/salesforce

There is no license information available for the latest version (dev-master) of this package.

A Laravel 4 package for the PHPForce Salesforce library

dev-master 2013-11-28 11:58 UTC

This package is not auto-updated.

Last update: 2024-03-26 00:01:22 UTC


README

Installation

Install this package through Composer. To your composer.json file, add:

"require-dev": {
	"Ronster/Salesforce": "dev-master"
}

Next, run composer update to download it.

Finally, add the service provider to app/config/app.php, within the providers array.

'providers' => array(
	// ...

	'Ronster\Salesforce\SalesforceServiceProvider'
)

Configuration

Run php artisan config:publish ronster/salesforce to publish the package config file. Add your username, password, security token(optional) and the absolute path to your enterprise/partner WSDL file which can be obtained from your Salesforce Org.

Usage

This package is a laravel 4 port of the PHPforce/soap-client library. Instructions can be found here: PHPForce/soap-client

Example

Salesforce::query('select Name, SystemModstamp from Account limit 5');