Download the PHP package php-arsenal/salesforce-outbound-message-bundle without Composer
On this page you can find all versions of the php package php-arsenal/salesforce-outbound-message-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-arsenal/salesforce-outbound-message-bundle
More information about php-arsenal/salesforce-outbound-message-bundle
Files in php-arsenal/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/php-arsenal/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) php-arsenal/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 *
ext-soap Version *
doctrine/mongodb-odm Version ^2.2
php-arsenal/document-value-updater Version ^0.1.1
php-arsenal/salesforce-mapper-bundle Version ^4.0
symfony/config Version ^5.2
symfony/dependency-injection Version ^5.2
symfony/event-dispatcher Version ^5.2
symfony/http-kernel Version ^5.2
symfony/polyfill-apcu Version ^1.22
symfony/property-access Version ^5.2