.TWIG Extension de fichier

Twig Template

Développeur Sensio Labs
Popularité
3.7  |  10 Votes
 

Qu'est-ce qu'un fichier 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.

Plus d'informations

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.

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

Noms de fichiers .TWIG courants

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.

Ouvrez plus de 400 formats de fichiers avec File Viewer Plus.Téléchargement gratuit

Programmes qui ouvrent ou référencent les fichiers TWIG

Vérifié par FileInfo.com

L'équipe FileInfo.com a mené des recherches indépendantes sur le format de fichier Twig Template et les applications Mac, Windows, and Linux répertoriées sur cette page. Notre objectif est une précision de 100%, et nous ne publions que des informations sur les types de fichiers que nous avons vérifiés.

Si vous souhaitez suggérer des ajouts ou des mises à jour de cette page, faites-le-nous savoir.