digital-marketing-framework/template-engine-twig
Composer 安装命令:
composer require digital-marketing-framework/template-engine-twig
包简介
Anyrel - Template Engine - Twig
README 文档
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
统计信息
- 总下载量: 6.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-10-25