PHPackages                             maillotf/salesforce-bridge-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. maillotf/salesforce-bridge-bundle

ActiveSymfony-bundle[API Development](/categories/api)

maillotf/salesforce-bridge-bundle
=================================

A Salesforce bundle for Symfony

1.0(5y ago)036MITPHPPHP ^7.0CI failing

Since Sep 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/maillotf/salesforce-bridge-bundle)[ Packagist](https://packagist.org/packages/maillotf/salesforce-bridge-bundle)[ Docs](https://github.com/maillotf/salesforce-bridge)[ RSS](/packages/maillotf-salesforce-bridge-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Salesforce-bridge-bundle
========================

[](#salesforce-bridge-bundle)

[![Software license](https://camo.githubusercontent.com/e46e8a808ad0f7b76eed602c5f7f40744195b26a6aa7d0b05bd6f109a32e566c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d61696c6c6f74662f73616c6573666f7263652d6272696467652d62756e646c652e737667)](LICENSE)[![Latest stable](https://camo.githubusercontent.com/42e2db8b589d7baeac499136a92a5d44ac1272cbc6f24127a139781b73cb241d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61696c6c6f74662f73616c6573666f7263652d6272696467652d62756e646c65)](https://packagist.org/packages/maillotf/salesforce-bridge-bundle)[![Packagist PHP Version Support](https://camo.githubusercontent.com/d19642944e4a316b4b05ee71645a03dcc4faa40ec12217881bd9f07b7b2b900e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f73616c6573666f7263652d6272696467652d62756e646c65)](https://camo.githubusercontent.com/d19642944e4a316b4b05ee71645a03dcc4faa40ec12217881bd9f07b7b2b900e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61696c6c6f74662f73616c6573666f7263652d6272696467652d62756e646c65)

Symfony bundle for Salesforce REST client which is base on username,password authentication

Required configuration
----------------------

[](#required-configuration)

Compliant with symphony 4 and php7

### Modify framework.yaml

[](#modify-frameworkyaml)

```
salesforce:
    authentication:
        endpoint: "https://login.salesforce.com/"
        client_id: "CLIENT_ID"
        client_secret: "CLIENT_SECRET"
        username: "USERNAME"
        password: "PASSWORD"
        security_token: 'SECURITY_TOKEN'
    rest:
        version: "v35.0"
        endpoint: "https://YOURINSTANCE.salesforce.com"
```

### Modify services.yaml

[](#modify-servicesyaml)

```
services:
    MaillotF\Salesforce\SalesforceBridgeBundle\Service\SalesforceService: '@salesforce.service'
```

\##Package instalation with composer

```
$ composer require maillotf/salesforce-bridge-bundle
```

Use in controller:
------------------

[](#use-in-controller)

```
