Symfony UX Turbo is a Symfony bundle integrating the Hotwire Turbo library in Symfony applications. It is part of the Symfony UX initiative.
Symfony UX Turbo allows having the same user experience as with Single Page Apps but without having to write a single line of JavaScript!
Symfony UX Turbo also integrates with Symfony Mercure or any other transports to broadcast DOM changes to all currently connected users!
You're in a hurry? Take a look at the chat example to discover the full potential of Symfony UX Turbo.
Or watch the Turbo Screencast on SymfonyCasts.
This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ux to create issues or submit pull requests.
The Symfony UX packages are backed by Mercure.rocks.
Create real-time experiences in minutes! Mercure.rocks provides a realtime API service that is tightly integrated with Symfony: create UIs that update in live with UX Turbo, send notifications with the Notifier component, expose async APIs with API Platform and create low level stuffs with the Mercure component. We maintain and scale the complex infrastructure for you!
Help Symfony by sponsoring its development!
Configure test environment (working directory: src/Turbo
):
composer update
docker compose up -d
cd tests/app
php public/index.php doctrine:schema:create
Run tests (working directory: src/Turbo
):
vendor/bin/simple-phpunit