Download the PHP package comsave/salesforce-outbound-message-bundle without Composer
On this page you can find all versions of the php package comsave/salesforce-outbound-message-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download comsave/salesforce-outbound-message-bundle
More information about comsave/salesforce-outbound-message-bundle
Files in comsave/salesforce-outbound-message-bundle
Package salesforce-outbound-message-bundle
Short Description This bundle allows you to easily process outbound messages sent by Salesforce.
License MIT
Homepage https://github.com/comsave/salesforce-outbound-message-bundle
Informations about the package salesforce-outbound-message-bundle
Symfony OutboundMessageBundle for Salesforce
Create, update, remove objects in Symfony sent through Salesforce outbound messages.
Requirements
This bundle assumes you're using:
1) MongoDB database (and specifically doctrine/mongodb-odm
).
2) comsave/salesforce-mapper-bundle
for Salesforce object mapping to your MongoDB Document
classes.
Bundle features
- Object
create
- Object
update
- Object
delete
. To enable this complete additional setup steps. - Object custom handling
beforeFlush
- Object custom handling
afterFlush
Installation
-
Register the bundle in your
AppKernel.php
by adding -
To handle the Salesforce's incoming outbound messages create a route (for example
/sync
) and a method to a controller: -
add the bundle configuration in your
app/config/config.yml
-
Add
DocumentInterface
to the document class you'd like to be tracked by theOutboundMessageBundle
. -
Create an
EventSubscriber
for an object you'd like to sync. It would look something like this for theAccount
object: - Add your newly created route to the Salesforce outbound message for the object you want to sync (
Account
in our example). - That's it! Trigger an outbound message to be sent out and see everything happen automagically. 😎 👍
License
This project is licensed under the MIT License.
All versions of salesforce-outbound-message-bundle with dependencies
ext-json Version >=1.6
ext-soap Version >=7.2
comsave/salesforce-mapper-bundle Version ^3.4.0
doctrine/mongodb-odm Version ^1.1|^2.0
symfony/config Version ^3.4|^4.3
symfony/dependency-injection Version ^3.4|^4.3
symfony/event-dispatcher Version ^3.4|^4.3
symfony/http-kernel Version ^3.4|^4.3
symfony/polyfill-apcu Version ^1.12
symfony/property-access Version ^3.4|^4.3