symfony/ux-turbo

Hotwire Turbo integration for Symfony

Installs: 2 769 565

Dependents: 24

Suggesters: 1

Security: 0

Stars: 352

Watchers: 17

Forks: 16

Type:symfony-bundle

v2.22.1 2024-12-05 14:25 UTC

README

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.

Sponsor

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!

Running the Tests

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

Resources