Download the PHP package fullmetrix/sylius-plugin without Composer
On this page you can find all versions of the php package fullmetrix/sylius-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fullmetrix/sylius-plugin
More information about fullmetrix/sylius-plugin
Files in fullmetrix/sylius-plugin
Package sylius-plugin
Short Description Fullmetrix connector for Sylius. Syncs orders, customers, products, promotions and tracks visitor events to Fullmetrix.
License proprietary
Homepage https://fullmetrix.com
Informations about the package sylius-plugin
Fullmetrix Sylius Plugin
Connects a Sylius store to Fullmetrix. Streams orders, customers, products, categories and promotions, dispatches realtime entity webhooks and visitor tracking events, and supports remote coupon management.
Compatible with Sylius 1.13 LTS and Sylius 2.0 (PHP 8.1+, Symfony 6.4 or 7.x).
Installation
Register the bundle in config/bundles.php:
Import the plugin routes in config/routes.yaml:
Run the migrations to create the plugin tables:
Clear the cache:
Configuration
The plugin works without configuration. Defaults point to https://fullmetrix.com. To override, add to config/packages/fullmetrix.yaml:
Usage
- In the admin panel, go to
Marketing -> Fullmetrix. - Enter the connection code provided by Fullmetrix (format
FMTX-XXXX-XXXX-XXXX). - Click Connect. The plugin registers with Fullmetrix and receives an HMAC secret.
- Fullmetrix performs an initial historical sync and then receives realtime webhooks.
Exposed endpoints
All endpoints require an HMAC signature in the headers (X-Fullmetrix-Signature, X-Fullmetrix-Timestamp, X-Fullmetrix-Connection-Code).
GET /fullmetrix/api/export?type=orders|customers|products|categories|coupons|settingsGET /fullmetrix/api/stream(NDJSON stream of every entity)GET /fullmetrix/api/stream/{entity}GET /fullmetrix/api/countsGET /fullmetrix/api/updated?type=orders&days=30POST /fullmetrix/api/command(coupon.create, coupon.update, coupon.delete)
Architecture
ConfigStoreandLoggerpersist config keys and dedup-logged entries in dedicated tables.HmacSignersigns every outbound request and verifies every inbound request, with a 300s tolerance.WebhookQueuebuffers entity changes during the request and flushes them onkernel.terminate, fire-and-forget.TrackingQueuebuffers visitor events and flushes them onkernel.terminate, readingfm_vid/fm_sid/fm_cidcookies.EntityWebhookSubscriberlistens to DoctrinepostPersist/postUpdate;OrderStateMachineSubscriberadds Sylius state machine transitions.TrackerInjectionSubscriberinjects the Fullmetrix JS tracker into storefront responses.CartRecoveryControllerrebuilds an abandoned cart from a signed URL.
License
Proprietary. See LICENSE.
All versions of sylius-plugin with dependencies
ext-curl Version *
ext-json Version *
sylius/sylius Version ^1.13 || ^2.0
symfony/framework-bundle Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/http-foundation Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/security-bundle Version ^6.4 || ^7.0
symfony/twig-bundle Version ^6.4 || ^7.0
doctrine/orm Version ^2.15 || ^3.0
doctrine/doctrine-bundle Version ^2.10