Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
/ inky-extension Public archive

[DEPRECATED] Inky email template engine support for Twig

License

Notifications You must be signed in to change notification settings

twigphp/inky-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 %}
    <row>
        <columns large="6"></columns>
        <columns large="6"></columns>
    </row>
{% endfilter %}

You can also use the filter on an included file:

{{ include('some_template.inky.twig')|inky }}

About

[DEPRECATED] Inky email template engine support for Twig

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages