twig/html-extra

A Twig extension for HTML

Fund package maintenance!
fabpot
Tidelift

Installs: 949 312

Dependents: 15

Suggesters: 0

Security: 0

Stars: 32

Watchers: 3

Forks: 3

v3.5.0 2022-12-27 12:23 UTC

README

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.