2017 © Pedro Peláez
 

library salesforce-client

Salesforce REST client for PHP

image

xsolve-pl/salesforce-client

Salesforce REST client for PHP

  • Wednesday, June 13, 2018
  • by mariusz-bak-xsolve-pl
  • Repository
  • 36 Watchers
  • 21 Stars
  • 564 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 4 Versions
  • 86 % Grown

The README.md


xsolve-pl/salesforce-client

Build Status Scrutinizer Code Quality Code Coverage, (*1)

Introduction

This library is for integration with Salesforce via REST API., (*2)

Licence

This library is under the MIT license. See the complete license in LICENSE file., (*3)

Getting started

Add the library to your project using Composer as follows:, (*4)

$ composer require xsolve-pl/salesforce-client

We are using http://httplug.io/, so you can use any of existing adapters, for example:, (*5)

$ composer require php-http/guzzle6-adapter

Otherwise you need to create your own implementation., (*6)

To store access token we have implemented BlaBlaCarRedis token storage, but it needs blablacar/redis-client, (*7)

$ composer require blablacar/redis-client "~1.0"

Another option for token storage is RequestTokenStorage (this will keep the token in own property (memory) so the token would last until the script is terminated (e.g. current request), which is not really effective). Of course you can create your own storage, everything what you need to do is to create a class which implements Xsolve\SalesforceClient\Storage\TokenStorageInterface, (*8)

Documentation

Documentation is available in the doc directory. Read documentation, (*9)

The Versions

13/06 2018
13/06 2018
19/01 2018