Download the PHP package setono/sylius-webhook-plugin without Composer
On this page you can find all versions of the php package setono/sylius-webhook-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-webhook-plugin
More information about setono/sylius-webhook-plugin
Files in setono/sylius-webhook-plugin
Package sylius-webhook-plugin
Short Description Handle webhooks in your Sylius store
License MIT
Informations about the package sylius-webhook-plugin
Sylius Webhook Plugin
Handle webhooks in your Sylius store
Installation
Step 1: Download the plugin
Step 2: Enable the plugin
Then, enable the plugin by adding the following to the list of registered plugins/bundles
in the config/bundles.php
file of your project:
NOTE that you must instantiate the plugin before the grid bundle, else you will see an exception like
You have requested a non-existent parameter "setono_sylius_webhook.model.endpoint.class".
Step 3: Import routing
If you don't use localized URLs, use this routing file instead: @SetonoSyliusWebhookPlugin/Resources/config/routes_no_locale.yaml
Step 4: Configure plugin
Step 5: Update database schema
Use Doctrine migrations to create a migration file and update the database.
Step 6: Using asynchronous transport (optional, but recommended)
All events in this plugin will extend the EventInterface. Therefore, you can route all events easily by adding this to your Messenger config:
All versions of sylius-webhook-plugin with dependencies
doctrine/persistence Version ^2.3
knplabs/knp-menu Version ^3.3
psr/event-dispatcher Version ^1.0
setono/doctrine-object-manager-trait Version ^1.1
sylius/resource-bundle Version ^1.6
symfony/config Version ^4.4 || ^5.4 || ^6.0
symfony/console Version ^4.4 || ^5.4 || ^6.0
symfony/dependency-injection Version ^4.4 || ^5.4 || ^6.0
symfony/http-foundation Version ^4.4 || ^5.4 || ^6.0
symfony/http-kernel Version ^4.4 || ^5.4 || ^6.0
symfony/messenger Version ^4.4 || ^5.4 || ^6.0
symfony/uid Version ^5.4 || ^6.0
webmozart/assert Version ^1.11