davispeixoto / Laravel-4-Salesforce

Force.com Toolkit for PHP port for Laravel 4
MIT License
13 stars 16 forks source link

No support for Partner Connection #10

Closed chrisrichard closed 9 years ago

chrisrichard commented 9 years ago

IMPORTANT: the PHP Force.com Toolkit for PHP only works with Enterprise WSDL

I was able to use it successfully on a different (non-Laravel) project. Would rather integrate your wrapper on this one but need to use partner connection.

Note that you need to use a SforcePartnerClient object rather than SforceEnterpriseClient.

chrisrichard commented 9 years ago

Also a different data interface when using Partner client, geard toward KV access:

$lead = new SObject(); $lead->type = 'Lead'; $lead->fields = ['Name' => '...', 'Phone' => '...', ...];

davispeixoto commented 9 years ago

Thanks for this information. However, I'm thinking about the stability of application using the partner client.

I'm not sure if it is stable enough.

davispeixoto commented 9 years ago

Hey, Chris. You can create a pull request, updating the documentation. What does it sound for you?