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.

Jump to: Statements Referenced by

Statements (49)

Predicate Object
instanceOf PHP library
templating engine
designGoal easy to learn syntax
fast
flexible
modern
secure
developer Fabien Potencier NERFINISHED
documentation https://twig.symfony.com/doc
ecosystem Symfony ecosystem NERFINISHED
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 NERFINISHED
integration Symfony FrameworkBundle NERFINISHED
TwigBridge for Symfony components NERFINISHED
license BSD-3-Clause License NERFINISHED
maintainer twigphp organization
primaryUse rendering HTML views
separating presentation from application logic
programmingLanguage PHP NERFINISHED
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 NERFINISHED
Laravel NERFINISHED
Silex NERFINISHED
Slim NERFINISHED
Symfony NERFINISHED

Referenced by (2)

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