fittinq / symfony-salesforce
There is no license information available for the latest version (3.0.0) of this package.
3.0.0
2024-10-29 11:36 UTC
Requires
- firebase/php-jwt: ^6.1
- fittinq/symfony-connector: ^21.0
- fittinq/symfony-mock: ^4.0
- symfony/framework-bundle: ^6.1
- symfony/http-client: ^6.1
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/yaml: ^6.1
README
Use symfony salesforce connector to automatically add authorization to salesforce http requests
Install via composer
composer require fittinq\symfony-salesforce
Configure bundle
# config/bundles.php
<?php
return [
// ...
Fittinq\Symfony\Salesforce\SymfonySalesforceConnectorBundle::class => ['all' => true]
];
Configure .env
add the following .env.local settings
SALESFORCE_CONNECTED_APP_CONSUMER_KEY=df9g908djfg98ujed98fg
SALESFORCE_CONNECTED_APP_PRIVATE_KEY_PATH=/var/www/encryption/server.key
Inject Salesforce http client to service
# config/services.yaml
services:
App\SomeClass:
arguments:
- '@Fittinq\Symfony\Salesforce\SalesforceHttpClient'