{"repo":"omniphx/forrest","free":true,"listed":false,"github":"https://github.com/omniphx/forrest","clone":"git clone https://github.com/omniphx/forrest.git","description":"A Laravel library for Salesforce","language":"PHP","stars":271,"topics":["salesforce","laravel","rest-api","lumen","rest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Salesforce REST API Client for Laravel Forrest is a Salesforce/Force.com REST API client for Laravel and Lumen. Installation Install Forrest with Composer: Laravel Installation The package automatically registers the service provider and Forrest alias for supported Laravel versions. Lumen Installation Then you'll utilize the Lumen service provider by registering it in the bootstrap/app.php file. Configuration You will need a configuration file to add your credentials. Publish the package config using Artisan: This will publish a config/forrest.php file that can switch between authentication types as well as other settings. After adding the config file, update your .env to include the following values (details for getting a consumer key and secret are outlined below): For Lumen, you should copy the config file from src/config/config.php and add it to a forrest.php configuration file under a config directory in the root of your application. Getting Started Setting up a Connected App 1. Log into to your Salesforce org 2. Click on Setup in the upper right-hand menu 3. Search App in quick find box, and select App Manager 4. Click New Connected App. 5. Enter the following details for the remote application: - Connected App Name - API Name - Contact Email - Enable OAuth Settings under the API dropdown - Callback URL - Select access scope (If you need a refresh token, specify it here) 6. Click Save After saving, you will now be given a Consumer Key and Consumer Secret. Update your co","default_branch":null,"files":null,"tree":[],"storefront":"/r/omniphx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/omniphx/forrest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}