Product tours you write in Twig — or in PHP.
UX Driver wires Driver.js into Symfony. Declare a Tour, a Highlight, or a set of Hints as Twig Components next to the markup they point at, or compose them in a controller with the autowired PHP builders — the bundle ships the Stimulus controller, the assets, and the events.
composer require pentiminax/ux-driverPoint new operators at the exact control they need.
Three shapes, one bundle
Tour
A numbered sequence of Steps. Driver.js handles the overlay, the focus ring, and the popover; you declare the Steps in Twig or in PHP.
Read the guideHighlight
One element, one popover, no sequence. The right shape for announcing a single new control.
Read the guideHint
Beacons that stay on the page after onboarding ends, for the controls people keep asking about.
Read the guideThree authoring modes, one controller
Wrap the Steps around the elements they describe with Twig Components, chain them in a template withcreate_tour(), or build the same Tour in PHP and hand it to the template. All three serialize the same Driver.js configuration for the same Stimulus controller.
Components keep the help visible while editing the page. The PHP builders — TourBuilder and HintsBuilder, autowired services — fit Steps that are data-driven, conditional, or translated in a controller. The authoring modes guide covers when each fits.
Find your way in
Install UX Driver and ship a first Tour and a first Hint, in Twig or in PHP.
Author, control, style, and secure Tours, Highlights, and Hints.