php-twig-html-extra

A Twig extension for HTML

Description

Twig HTML 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.

Twig itself is a flexible, fast and secure template engine for PHP.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://twig.symfony.com/html_classes


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-twig-html-extra