Inky extension
[DEPRECATED] Inky email template engine support for Twig
**WARNINIG**: This package is deprecate; migrate to `twig/inky-extra` instead. The project is written primarily in PHP, distributed under the MIT License license, first published in 2019. Key topics include: inky, php, twig, twig-extension.
Twig Inky Extension
WARNINIG: This package is deprecate; migrate to twig/inky-extra instead.
This package provides support for the inky email templating
engine in Twig via a filter (inky) for Twig and
a Symfony bundle.
If you are not using Symfony, register the extension on Twig's Environment
manually:
phpuse Twig\Inky\InkyExtension; use Twig\Environment; $twig = new Environment(...); $twig->addExtension(new InkyExtension());
Use the inky filter to process an inky email template:
twig{% filter inky %} <row> <columns large="6"></columns> <columns large="6"></columns> </row> {% endfilter %}
You can also use the filter on an included file:
twig{{ include('some_template.inky.twig')|inky }}
Contributors
Showing top 3 contributors by commit count.
This article is auto-generated from twigphp/inky-extension via the GitHub API.Last fetched: 6/28/2026
