A wrapper for the Force.com Web Services SOAP API
The Force.com PHP Toolkit provides an easy-to-use wrapper for the Force.com Web Services SOAP API, presenting SOAP client implementations for both the enterprise and partner WSDLs.
See the getting started guide for sample code to create, retrieve, update and delete records in the Force.com database.
This fork is intended to make the Force.com Toolkit for PHP in packagist and will be used in my personal project to its classes and facilities available to be used in a Laravel 4 port.
The changes made by me (Davis Peixoto) are minor and won't change the core classes functionality, just make it available to be loaded by composer.
Once the main project by developerforce is available though composer, this fork can be dropped and replaced by the original.
About the fixes:
- I've just removed all unused code from composer point of view. I've ported all classes into src folder, and kept all of them into a separated file (there was some files with multiple classes).
- I've formatted code into PSR-1/PSR-2 format
- I've changed some methods signatures, changing their type, like from date to string, in order to give them the proper type according to current usage. I've not added/removed parameters from phpdoc signatures, despite the high amount of errors.