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
Requires
- php: >=5.3.0
- illuminate/support: 4.0.*
- phpforce/soap-client: *
Suggests
- guzzle/http: For fetching the latest WSDL from Salesforce
This package is not auto-updated.
Last update: 2024-12-17 03:15:53 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');