Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

237 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


xsolve-pl/salesforce-client

Build Status Scrutinizer Code Quality Code Coverage

Introduction

This library is for integration with Salesforce via REST API.

Licence

This library is under the MIT license. See the complete license in LICENSE file.

Getting started

Add the library to your project using Composer as follows:

$ composer require xsolve-pl/salesforce-client

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

$ composer require php-http/guzzle6-adapter

Otherwise you need to create your own implementation.

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

$ 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

Documentation

Documentation is available in the doc directory. Read documentation

About

PHP client for the Salesforce REST API — fluent SOQL query builder with an expression factory, support for custom SObjects and requests, pluggable HTTP transport via HTTPlug and swappable OAuth token storage (Redis or in-memory). Available on Packagist.

Resources

Stars

30 stars

Watchers

48 watching

Forks

Releases

Packages

Used by

Contributors

Languages