Skip to content

mcorrigan/salesforce-rest-api-php-wrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce REST API PHP Wrapper

Description

This is a PHP Wrapper for the Salesforce Rest API.

Grant Type

This library currently only supports the Username-Password authentication flow or password grant type.

Consumer Key / Secret

To retrieve your consumer key and secret, you will need to login to the instance (or sandbox instance). Click Setup at the top of the page and then navigate to Create -> Apps. Here you will see several types of applications: Apps, Subtab Apps, and Connected Apps. Click the New button inside the Connected Apps section. Fill out the required form fields and check the Enable OAuth Settings checkbox. When using the username/password grant type, the Callback URL is not required, however you will still be required to enter a value.

Sandbox Setup

To create a new sandbox instance, login to your main salesforce instance. Click Setup at the top of the screen and navigate to Deploy -> Sandboxes. Here you can choose a type of sandbox to deploy.

API Versions

To see available API versions, you can navigate to https://<your-instance-subdomain>.salesforce.com/services/data. Generally you should be fine to use the most recent version. If you are not sure, please check the SOQL documentation

Security Token

The Security Token used for login is emailed to the user on creation and when they reset their password. If you do not have access to this information, you will most likely need to reset the user's password.

About

This is a PHP Wrapper for the Salesforce Rest API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%