Twig

E452829

Twig is a modern, secure, and flexible templating engine for PHP, widely used to separate presentation from application logic in frameworks like Symfony.

All labels observed (3)

Label Occurrences
Twig canonical 7
Twig template engine 1
Twig templating engine 1

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf PHP library
templating engine
designGoal easy to learn syntax
fast
flexible
modern
secure
developer Fabien Potencier
documentation https://twig.symfony.com/doc
ecosystem Symfony ecosystem
linked to: Symfony community
feature automatic output escaping
blocks
caching
compiled templates
extensibility via custom extensions
filters
functions
lexing and parsing to an AST
macros
namespaces for templates
sandboxing
template inheritance
inspiredBy Jinja
linked to: Jinja2
integration Symfony FrameworkBundle
TwigBridge for Symfony components
linked to: TwigBridge
license BSD-3-Clause License
linked to: BSD license
maintainer twigphp organization
primaryUse rendering HTML views
separating presentation from application logic
programmingLanguage PHP
repository https://github.com/twigphp/Twig
securityProperty context-aware escaping
limited access to PHP internals by default
sandbox mode for untrusted templates
supports conditionals
control structures
date and string manipulation
filters on variables
internationalization helpers
loops
template includes
template inheritance via extends
syntaxStyle Jinja-like syntax
templateFileExtension .twig
usedInFramework Drupal
Laravel
Silex
Slim
Symfony

How these facts were elicited

Referenced by (9)

Full triples — surface form annotated when it differs from this entity's canonical label.

Fabien Potencier notableWork Twig template engine
linked to: Twig
TwigBridge relatedTo Twig
Slim Twig-View requires Twig templating engine
linked to: Twig