Skip to content
This repository has been archived by the owner. It is now read-only.
[DEPRECATED] Inky email template engine support for Twig
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src fixed filter config Mar 29, 2019
test made the extension more powerful and way more simpler Feb 24, 2019
.gitignore added initial version Feb 24, 2019
.php_cs.dist added initial version Feb 24, 2019 added initial version Feb 24, 2019
LICENSE added initial version Feb 24, 2019 Deprecate the package in favor of twig/inky-extra Oct 17, 2019
composer.json Fix Inky dep Sep 22, 2019
phpunit.xml.dist added initial version Feb 24, 2019

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:

use Twig\Inky\InkyExtension;
use Twig\Environment;

$twig = new Environment(...);
$twig->addExtension(new InkyExtension());

Use the inky filter to process an inky email template:

{% filter inky %}
        <columns large="6"></columns>
        <columns large="6"></columns>
{% endfilter %}

You can also use the filter on an included file:

{{ include('some_template.inky.twig')|inky }}
You can’t perform that action at this time.