Search by

digital-marketing-framework / template-engine-twig

mvoehringerstephan.udemkarulin

Anyrel - Template Engine - Twig

Package info

github.com/digital-marketing-framework/template-engine-twig

Homepage

pkg:composer/digital-marketing-framework/template-engine-twig

Statistics

Installs: 9 624

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 1

3.0.2 2026-10-06 12:34 UTC

This package is auto-updated.

Last update: 2026-10-16 01:43:19 UTC


README

Use Twig as Default Template Engine

Manual

Data access

It is possible to output the data directly with the field name. Example:

Hello {{ firstname }} {{ lastname }},

Thank you for your message!

Furthermore, we have an array in which all fields have been stored. Here is an example of how to access the array:

{% for key,value in all_values %}
  {{ key }}: {{ value }}
{% endfor %}

Twig Documentation

Twig Template