Official Synerise plugin allowing configurable integration of Sylius applications with the platform. Main features include tracking customer actions (e.g. cart and transaction events) as well as data synchronisation of customers, orders and product catalog. The Synerise platform provides a variety of tools for building well-targeted and AI powered omnichannel marketing campaigns for any store.
Plugin usage requires access to the Synerise platform. Visit the company website to learn about the platform and its numerous features. There you can find useful resources, such as case studies and use cases, or request a demo presentation.
Before integration, please make sure your application meets with the following requirements:
- PHP 8.2+
- Sylius 2.x
- RabbitMQ (optional, but recommended as a message queues handler)
Plugin is available as a composer package. Its registration is handled with Symfony Flex recipe. To benefit from autoconfiguration, please make sure that flex is available in your setup.
composer config extra.symfony.allow-contrib truecomposer config --json --merge extra.symfony.endpoint '["https://api.github.com/repos/synerise/symfony-recipes/contents/index.json?ref=flex/main"]'Alternatively, edit composer.json file of your application to include an endpoint of Synerise recipes repository:
"extra": {
"symfony": {
"endpoint": [
"https://api.github.com/repos/synerise/symfony-recipes/contents/index.json?ref=flex/main",
"..."
]
}
"..."
}composer require synerise/sylius-integration-pluginbin/console doctrine:migrations:migrateRemember to use -e prod option for production environment.
yarn encore dev # for development
yarn encore production # for productionbin/console cache:clearAlthough autoconfiguration with flex is the recommended option, the plugin can also be registered manually.
Edit your bundles config file config/bundles.php and add plugin to the array:
<?php
return [
...
Synerise\SyliusIntegrationPlugin\SyneriseSyliusIntegrationPlugin::class => ['all' => true],
];
Head over to recipes repository. Select the appropriate version. Copy the contents of the config directory to your application config.
Edit assets/admin/entrypoint.js script by adding the following lines:
import '../../vendor/synerise/sylius-integration-plugin/assets/admin/entrypoint
To learn how to properly configure the plugin, please head to our documentation page.
In case of a bug, feature request or any trouble with the integration, visit our support page and fill in the proper form.