Laravel Driver.js
amjadiqbal/laravel-driver-js
Adding Driver.js to a Laravel app usually means hand-writing a script for each page, remembering who has already seen the tour, and wiring it to Livewire yourself.
You define tours and steps in PHP, put <x-driver-js> in the view, and start a tour from a button, Alpine, Livewire or JavaScript. once() shows a tour only the first time a visitor sees it, with no JavaScript to write and no npm build step.
- Tours and steps built in PHP with Driver.js's own option names
- Invalid sides, alignments, buttons and hook names rejected before they reach the browser
- once() auto-starts a tour only the first time a visitor sees it
- Start a tour from a button, Alpine, a Livewire component or JavaScript