miradnan / force.com-php-toolkit
A wrapper for the Force.com Web Services SOAP API
Installs: 321
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Language:HTML
Requires
- php: >=5.4.0
- ext-curl: *
- ext-mbstring: *
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-22 06:53:26 UTC
README
This package is originally forked from developerforce/Force.com-Toolkit-for-PHP.
It's just a refactored version of the above package to support PHP version > 5.4. It uses composers default PSR-4 Autoloading. All the class are separated into dedicated files to take advantage of namespaces and autoloading functionality in PHP frameworks. All the test cases are same as in the above package.
Installation
composer require "miradnan/force.com-php-toolkit"
Or append to require in your composer.json
"miradnan/force.com-php-toolkit": "dev-master"
Usage
require dirname(__DIR__) . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; $SfClient = new Salesforce\PartnerClient(); $wsdlPath = $SfClient->getWsdlPath(); $wsdlFile = $wsdlPath . 'partner.wsdl.xml'; $SfConnection = $SfClient->createConnection($wsdlFile); // write some cool code here...