davispeixoto/force-dot-com-toolkit-for-php

A wrapper for the Force.com Web Services SOAP API

1.0.11 2018-02-26 18:10 UTC

This package is auto-updated.

Last update: 2024-10-29 20:00:48 UTC


README

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 specific packages notes

Latest Stable Version Total Downloads Scrutinizer Code Quality Codacy Badge Code Climate Build Status SensioLabsInsight

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.