Download the PHP package antogkou/laravel-salesforce without Composer
On this page you can find all versions of the php package antogkou/laravel-salesforce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download antogkou/laravel-salesforce
More information about antogkou/laravel-salesforce
Files in antogkou/laravel-salesforce
Package laravel-salesforce
Short Description A Laravel package for Salesforce API integration
License MIT
Informations about the package laravel-salesforce
Laravel Salesforce Integration
A Laravel package for seamless Salesforce API integration, providing an elegant way to interact with Salesforce's REST APIs.
Features
- 🚀 Simple and intuitive API
- 🔑 Flexible authentication options
- 🔒 Supports custom Apex class authentication
- 🌐 OAuth 2.0 integration
- 📦 Automatic token management
- 🔐 Optional certificate-based authentication
- ⚡ Request/Response interceptors
Requirements
- PHP 8.1 or higher
- Laravel 10.0 or higher
- Composer 2.0 or higher
Version Compatibility
Laravel | PHP | Package |
---|---|---|
10.x | 8.1, 8.2, 8.3 | 1.x |
11.x | 8.2, 8.3 | 1.x |
Installation
-
Install the package via composer:
- Publish the configuration:
Configuration
Required Configuration
Add these essential environment variables to your .env
file:
Optional: Custom Apex Authentication
If your Salesforce Apex classes implement custom application-level authentication, you can configure it using:
This adds x-app-uuid
and x-app-key
headers to your requests, which you can validate in your Apex classes:
Optional: Certificate Authentication
For certificate-based authentication:
Optional: Default User Context
Basic Usage
Advanced Usage
Error Handling
Testing
Logging
The package automatically logs all API errors and failed requests. Logs include:
- Request method and URL
- Request data
- Response status and body
- Laravel route information
- Stack trace for debugging
Contributing
- Fork the repository
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Add new feature'
- Push to the branch:
git push origin feature/my-new-feature
- Submit a pull request
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover any security-related issues, please email [your-email] instead of using the issue tracker. All security vulnerabilities will be promptly addressed.
Please review our security policy for more information.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-salesforce with dependencies
illuminate/support Version ^10.0|^11.0
illuminate/http Version ^10.0|^11.0
guzzlehttp/guzzle Version ^7.0