Skip to content

Commit

Permalink
changing readme and adding travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
davispeixoto committed May 4, 2015
1 parent 4037dd6 commit 6778c5b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: php

php:
- 5.4
- 5.5
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
Force.com Toolkit for PHP
=========================
# Force.com Toolkit for PHP

EDIT
----
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](http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_PHP) for sample code to create, retrieve, update and delete records in the Force.com database.

## This specific packages notes

[![Latest Stable Version](https://img.shields.io/packagist/v/davispeixoto/force-dot-com-toolkit-for-php.svg)](https://packagist.org/packages/davispeixoto/force-dot-com-toolkit-for-php)
[![Total Downloads](https://img.shields.io/packagist/dt/davispeixoto/force-dot-com-toolkit-for-php.svg)](https://packagist.org/packages/davispeixoto/force-dot-com-toolkit-for-php)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/eca47fa7-9ab3-431f-b551-217118408f1a/small.png)](https://insight.sensiolabs.com/projects/eca47fa7-9ab3-431f-b551-217118408f1a)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/davispeixoto/Force.com-Toolkit-for-PHP/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/davispeixoto/Force.com-Toolkit-for-PHP/?branch=master)
[![Codacy Badge](https://www.codacy.com/project/badge/7c3e856c500046a882d061c09ed5aaca)](https://www.codacy.com/app/davis-peixoto/Force-com-Toolkit-for-PHP)
[![Build Status](https://travis-ci.org/davispeixoto/Force.com-Toolkit-for-PHP.svg?branch=master)](https://travis-ci.org/davispeixoto/Force.com-Toolkit-for-PHP)

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](http://getcomposer.org/).

Once the main project by [developerforce](https://gitub.com/developerforce/) is available though composer, this fork can be dropped and replaced by the original.

Force.com Toolkit for PHP
=========================

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](http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_PHP) for sample code to create, retrieve, update and delete records in the Force.com database.
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.
- I've added a backslash for some classes calls such as SoapClient, as needed by PSR context loading.
2 changes: 1 addition & 1 deletion wsdl/enterprise.wsdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6299,4 +6299,4 @@ All Rights Reserved
<soap:address location="https://login.salesforce.com/services/Soap/c/27.0"/>
</port>
</service>
</definitions>
</definitions>
2 changes: 1 addition & 1 deletion wsdl/metadata.wsdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3334,4 +3334,4 @@ Copyright 2006-2010 Salesforce.com, inc. All Rights Reserved
<soap:address location="https://na7-api.salesforce.com/services/Soap/m/27.0"/>
</port>
</service>
</definitions>
</definitions>
2 changes: 1 addition & 1 deletion wsdl/partner.wsdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3128,4 +3128,4 @@ All Rights Reserved
<soap:address location="https://login.salesforce.com/services/Soap/u/27.0"/>
</port>
</service>
</definitions>
</definitions>

0 comments on commit 6778c5b

Please sign in to comment.