ronster / salesforce
A Laravel 4 package for the PHPForce Salesforce library
Requires
- php: >=5.3.0
- illuminate/support: 4.0.*
- phpforce/soap-client: *
Requires (Dev)
None
Suggests
- guzzle/http: For fetching the latest WSDL from Salesforce
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-08 11:10:57 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');