symfony / ux-turbo
Hotwire Turbo integration for Symfony
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Installs: 2 428 612
Dependents: 24
Suggesters: 1
Security: 0
Stars: 347
Watchers: 17
Forks: 16
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/stimulus-bundle: ^2.9.1
Requires (Dev)
- dbrekelmans/bdi: dev-main
- doctrine/doctrine-bundle: ^2.4.3
- doctrine/orm: ^2.8 | 3.0
- phpstan/phpstan: ^1.10
- symfony/asset-mapper: ^6.4|^7.0
- symfony/debug-bundle: ^5.4|^6.0|^7.0
- symfony/expression-language: ^5.4|^6.0|^7.0
- symfony/form: ^5.4|^6.0|^7.0
- symfony/framework-bundle: ^6.4|^7.0
- symfony/mercure-bundle: ^0.3.7
- symfony/messenger: ^5.4|^6.0|^7.0
- symfony/panther: ^2.1
- symfony/phpunit-bridge: ^5.4|^6.0|^7.0
- symfony/process: ^5.4|6.3.*|^7.0
- symfony/property-access: ^5.4|^6.0|^7.0
- symfony/security-core: ^5.4|^6.0|^7.0
- symfony/stopwatch: ^5.4|^6.0|^7.0
- symfony/twig-bundle: ^6.4|^7.0
- symfony/ux-twig-component: ^2.21
- symfony/web-profiler-bundle: ^5.4|^6.0|^7.0
Conflicts
- symfony/flex: <1.13
This package is auto-updated.
Last update: 2024-11-03 08:22:10 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