ApexClient is a Laravel package for interacting with Salesforce Apex API.
You can install the package via composer:
composer require antogkou/salesforce-apex-client
use antogkou\ApexClient\Facades\ApexClient;
// Get data from Salesforce
$response = Salesforce::get('your/api/endpoint');
// Post data to Salesforce
$response = Salesforce::post('your/api/endpoint', ['key' => 'value']);
Publish the config file:
php artisan vendor:publish --provider="antogkou\ApexClient\ApexClientServiceProvider"
Then, update the config/salesforce.php
file with your Salesforce credentials.
composer test
The MIT License (MIT). Please see License File for more information.