Skip to content

Chris53897/ux-turbo

 
 

Repository files navigation

Symfony UX Turbo

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
yarn install
yarn build
php public/index.php doctrine:schema:create

Run tests (working directory: src/Turbo):

vendor/bin/simple-phpunit

Resources

About

Hotwire Turbo integration for Symfony

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 80.1%
  • Twig 9.6%
  • TypeScript 7.4%
  • JavaScript 2.9%