Skip to content
B2B demo
Quick login
Demo accounts Plugins Architecture Technical proof
Demo menuFull demo menu
Professional supplies · Prices excl. VAT · Dedicated account manager
B2B demonstration e-shop Fictitious data, no order fulfilled, no real payment. Learn more

Architecture

Architecture of the demo, layer by layer.

How this demo is built: the Sylius shop, the plugins installed as independent packages, the layer specific to the demo, the flows with the outside world, operations and quality checks. Every section links to the files of the public repository.

Overview

  • 32Installed plugins
  • 370Test files
  • 2.3Sylius
  • 8.2Symfony

At the top, three entry points: the browser of the visitors, AI assistants connected through MCP and the procurement platforms of the buyers connected through PunchOut. In the middle, a single container: Caddy and FrankenPHP serve Sylius 2.3 on Symfony 8.2 and PHP 8.5, with 32 plugins installed as Composer packages and the layer specific to the demo; supercronic runs the scheduled tasks there and, every minute, consumes the Messenger queue (the asynchronous company verification), and the same container delivers the webhooks and produces the invoices. At the bottom: the MySQL database, which also holds the Messenger queue, the media volume, and Railway, which builds and deploys the Docker image that the CI checks on every change.

  • Browser
  • AI assistant (MCP)
  • Procurement (PunchOut)

Container: Caddy + FrankenPHP

  • Sylius 2.3 · Symfony 8.2
  • 32 tmonier plugins
  • Demo layer
  • supercronic (scheduled tasks, Messenger queue consumer)
  • Webhooks (outbox), MCP, Factur-X invoices
  • MySQL (including the Messenger queue)
  • Media volume
  • Railway (Docker image)
A single container serves the shop and runs the scheduled tasks and consumes the Messenger queue; the database and the media are persistent; the CI builds and checks the same image on every change.

Layers

  1. Sylius core

    Sylius 2.3 on Symfony 8.2 and PHP 8.5, from the Sylius-Standard skeleton. The core is not modified: everything goes through configuration, events and extension points.

  2. tmonier plugins

    32 plugins, each in its own repository, published on Packagist and installed by Composer like any other package. Each plugin has its own CI and tests; the demo runs them together.

  3. Demo layer

    The code specific to the demo, kept apart: presentation pages, demo data loaded from CSV files, nightly reset, PunchOut simulator, webhook receiver and technical proof.

  4. Theme and overrides

    The B2B theme is added through the Twig hooks of Sylius rather than by copying templates; the few remaining overrides are documented.

Plugins install one by one or by pack: see the Install a pack page.

Flows

  • Events

    The plugins react to Symfony and Sylius events (order placed, paid, shipped); the Symfony message bus runs synchronously in the demo.

  • Outgoing webhooks

    Every order event is written to an outbox, in the same transaction as the order, then delivered signed by a scheduled task; in the demo, the recipient is an internal receiver shown in the administration.

  • MCP server

    An AI assistant connects with OAuth and reads the catalogue or the orders of a buyer, with the rights of that account only.

  • PunchOut

    A buyer arrives from their procurement platform (cXML or OCI), fills a cart in the shop and returns it to the platform; a simulator plays the procurement platform.

  • Electronic invoice

    The invoice of an order is produced in the Factur-X format: a readable PDF that embeds the structured data of the invoice.

End-to-end example: a B2B order

  1. The buyer arrives from their procurement platform through PunchOut, or signs in to the shop.
  2. They confirm the order.
  3. The event "order placed" is written to the outbox, in the same transaction as the order.
  4. The scheduled task signs and delivers the webhook; the receiver checks the signature and records it.
  5. The Factur-X invoice of the order is produced.
  6. Later, an AI assistant connected through MCP finds the order for this buyer.

Operations

  • Docker image

    The CI builds the production image on every change, starts it, checks the key pages and the server configuration, then scans it and lists its components.

  • Deployment

    Railway builds the image from the protected main branch, applies the migrations, then switches over after a health check; the database and the media volume are persistent, and the infrastructure is described as code in the repository.

  • Nightly reset

    Every night, the demo data is reloaded in a single transaction: a failure leaves the demo in its previous state.

  • Public mode

    The demo is open to the public; only its showcase pages may be indexed by search engines, the rest of the site stays out of the index; switching between private and public mode is documented and reversible.

Quality

  • 9 PHPStan level Static analysis that blocks the CI, with the code style (ECS) and Rector.
  • 370 Test files Unit, functional and end-to-end tests of the demo pages, run on every change.
  • Succeeded Last CI run On the main branch. See the run
  • Every change goes through a pull request and a blocking CI: coding standard (ECS), PHPStan static analysis at level 9, Rector, and a line coverage threshold that never goes down.
  • 370 test files: unit, functional and end-to-end tests of the pages of the demo, run on every change.
  • Audit of the PHP and JavaScript dependencies, actions and images pinned by reference, scan of the Docker image and list of its components.

These figures come from the technical proof, checked on 2026-11-29. See the technical proof

Security

The principles, in general terms: the details of the settings are not published.

  • The demo holds no real data; everything is fictitious and reloaded every night.
  • The demo accounts have restricted rights: sensitive writes in the administration are refused on the server, not merely hidden.
  • Outgoing calls are limited to the expected destinations; redirects are not followed.
  • Sensitive forms are protected against abuse by rate limiting.
  • The HTTP security headers are set by the server.
  • The dependencies and the image are scanned on every change.

From mockup to screen

Every screen is first mocked up in Claude Design, then approved, before being implemented in Twig. Here are two recent examples.

  1. Sales copilot

    Mockup of the sales copilot widget: a chat embedded in My account, with suggested questions about the cart, orders and products in stock.

    The sales assistant widget is embedded in My account, under AI assistants. The buyer can ask questions about their cart, orders or the catalogue.

  2. Replenishment alerts

    Mockup of the replenishment alert block: three product cards to reorder, with an overdue or upcoming status and a prepare-cart button.

    The replenishment block, in My account under My equipment, alerts the buyer when it is time to reorder their usual consumables and equipment.

A single Claude Design canvas holds all mockups since the early iterations. The 'Industrie et Négoce' theme defines the design tokens (colours, typefaces, spacing) reused in every screen. Mockups comply with WCAG level AAA.

A question about a plugin or about the demo?

The designer's profile presents their background and contact details.

Contact me on LinkedIn (opens in a new window)