Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/symfony/ux-turbo
Hotwire Turbo integration for Symfony
https://github.com/symfony/ux-turbo
hotwire javascript mercure symfony symfony-ux turbo turbo-stream ux
Last synced: about 1 month ago
JSON representation
Hotwire Turbo integration for Symfony
- Host: GitHub
- URL: https://github.com/symfony/ux-turbo
- Owner: symfony
- License: mit
- Created: 2021-03-31T05:00:36.000Z (over 3 years ago)
- Default Branch: 2.x
- Last Pushed: 2024-09-28T16:53:00.000Z (about 1 month ago)
- Last Synced: 2024-09-30T17:05:44.667Z (about 1 month ago)
- Topics: hotwire, javascript, mercure, symfony, symfony-ux, turbo, turbo-stream, ux
- Language: PHP
- Homepage: https://symfony.com/bundles/ux-turbo
- Size: 9.56 MB
- Stars: 341
- Watchers: 17
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Symfony UX Turbo
Symfony UX Turbo is a Symfony bundle integrating the [Hotwire Turbo](https://turbo.hotwired.dev)
library in Symfony applications. It is part of [the Symfony UX initiative](https://ux.symfony.com/).Symfony UX Turbo allows having the same user experience as with [Single Page Apps](https://en.wikipedia.org/wiki/Single-page_application)
but without having to write a single line of JavaScript!Symfony UX Turbo also integrates with [Symfony Mercure](https://symfony.com/doc/current/mercure.html)
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](https://symfony.com/bundles/ux-turbo/current/index.html#chat-example)
to discover the full potential of Symfony UX Turbo.Or watch the [Turbo Screencast on SymfonyCasts](https://symfonycasts.com/screencast/turbo).
**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][1] by [Mercure.rocks][2].
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][3] its development!
## Running the Tests
Configure test environment (working directory: `src/Turbo`):
```bash
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`):
```bash
vendor/bin/simple-phpunit
```## Resources
- [Documentation](https://symfony.com/bundles/ux-turbo/current/index.html)
- [Report issues](https://github.com/symfony/ux/issues) and
[send Pull Requests](https://github.com/symfony/ux/pulls)
in the [main Symfony UX repository](https://github.com/symfony/ux)[1]: https://symfony.com/backers
[2]: https://mercure.rocks
[3]: https://symfony.com/sponsor