Skip to content

Commit 8ee707d

Browse files
committed
chore: upgrade composer deps, too
1 parent 89f2692 commit 8ee707d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

templates/twig-component/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[![Latest Stable Version](https://poser.pugx.org/vardumper/html5-twig-component-bundle/v/stable)](https://packagist.org/packages/vardumper/html5-twig-component-bundle)
2+
[![Total Downloads](https://poser.pugx.org/vardumper/html5-twig-component-bundle/downloads)](https://packagist.org/packages/vardumper/html5-twig-component-bundle)
3+
[![Vulnerabilities for html5-twig-component-bundle](https://dtrack.erikpoehler.us/api/v1/badge/vulns/project/404a3506-2b62-4a9e-8617-e80f3ebb1f03?apiKey=odt_J5OKz9JcWpKAnqz80whxTvwA3oQjGBGy)](https://dtrack.erikpoehler.us/projects/404a3506-2b62-4a9e-8617-e80f3ebb1f03)
4+
5+
16
# Twig Components for HTML5 Elements
27

38
This is a Symfony Bundle which adds pre-built, typesafe, auto-generated Twig Components for all HTML5 elements. It comes with full WCAG, ARIA support, also adds support for Alpine.js attributes. It makes use of [Extended HTMLDocument](https://github.com/vardumper/extended-htmldocument) which is a schema-first library that improves HTML5 support in PHP 8.4. Mainly used for validation of immutable enum attributes.
@@ -109,7 +114,7 @@ This will render a `data-role="article"` attribute on the generated component's
109114
Components are organized by type:
110115
- `Block` - Block-level elements (div, section, article, etc.)
111116
- `Inline` - Inline elements (span, a, strong, etc.)
112-
- `Void` - Self-closing elements (img, input, br, etc.)
117+
- `Void` - non-rendered elements (head, wbr, meta, etc.)
113118

114119

115120
## Read More

0 commit comments

Comments
 (0)