Files
Twig/extra/html-extra
Fabien Potencier 83f264bcd8 Merge branch '3.x' into 4.x
* 3.x:
  Allow Symfony 8 packages in Twig extra packages
  Fix array typehint for $variants in HtmlExtension
2025-11-02 20:03:33 +01:00
..
2025-01-10 08:41:31 +01:00
2025-11-02 20:03:33 +01:00
2025-02-19 15:29:33 +01:00
2025-11-02 20:03:33 +01:00
…
…

Twig HTML Extension

This package is a Twig extension that provides the following:

  • data_uri filter: generates a URL using the data scheme as defined in RFC 2397;

  • html_classes function: returns a string by conditionally joining class names together.

  • html_cva function: returns a Cva object to handle class variants.