ronster/salesforce

A Laravel 4 package for the PHPForce Salesforce library

Downloads

49

Stars

3

Version

Laravel4-Salesforce-library

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');

ronnievisser

Author

ronnievisser