twig/html-extra
Twig HTML Extension adds handy helpers to Twig: a data_uri filter for RFC 2397 data URLs, an html_classes function to conditionally build CSS class strings, and an html_cva function for managing class variants via a Cva object.
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.
How can I help you explore Laravel packages today?