.TWIG 文件扩展名

Twig Template

开发者 Sensio Labs
受欢迎程度
3.7  |  10 
 

什么是 TWIG 文件?

File created by Twig, a PHP optimizing template engine; contains a template that will be generated into a specific final format, such as a HTML, JavaScript, XML, or CSS based file; the twig extension determines what engine should be used to create the final format whether it's the Twig or PHP engine.

更多信息

The Twig application creates more concise syntax than normal PHP, which makes the TWIG files more readable. Twig has two types of syntax:

  1. {{ ... }} - Prints a variable or the result of an expression to the template.
  2. {% ...%} - A tag that controls the logic of the template; used to execute statements.

注: The Symfony PHP framework uses Twig as its default template engine.

常见 .TWIG 文件名

index.html.twig - Indicates the template will be generated in HTML format with the Twig engine.

index.css.twig - Indicates the template will be generated in CSS format with the Twig engine.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 TWIG 文件的程序

分类: 开发者
更新时间: 2013-10-29

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Twig Template 文件格式和 Mac, Windows, and Linux 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们