symfony / ux-twig-component
Twig components for Symfony
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Installs: 3 768 655
Dependents: 70
Suggesters: 5
Security: 0
Stars: 163
Watchers: 24
Forks: 21
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/dependency-injection: ^5.4|^6.0|^7.0
- symfony/deprecation-contracts: ^2.2|^3.0
- symfony/event-dispatcher: ^5.4|^6.0|^7.0
- symfony/property-access: ^5.4|^6.0|^7.0
- twig/twig: ^3.8
Requires (Dev)
- symfony/console: ^5.4|^6.0|^7.0
- symfony/css-selector: ^5.4|^6.0|^7.0
- symfony/dom-crawler: ^5.4|^6.0|^7.0
- symfony/framework-bundle: ^5.4|^6.0|^7.0
- symfony/phpunit-bridge: ^6.0|^7.0
- symfony/stimulus-bundle: ^2.9.1
- symfony/twig-bundle: ^5.4|^6.0|^7.0
- symfony/webpack-encore-bundle: ^1.15
Conflicts
- symfony/config: <5.4.0
This package is auto-updated.
Last update: 2024-11-04 01:09:01 UTC
README
Twig components give you the power to bind an object to a template, making it easier to render and re-use small template "units" - like an "alert", markup for a modal, or a category sidebar. A very simple example would be a re-usable alert component:
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!