Popularity
9.3
Stable
Activity
8.9
-
8,009
208
1,227
Description
Twig is a template language for PHP, released under the new BSD license (code
and documentation).
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Code Quality Rank:
L4
Monthly Downloads: 5,507,087
Programming language: PHP
License: BSD 3-clause "New" or "Revised" License
Tags:
Templating
Latest version: v3.4.3
Twig alternatives and similar libraries
Based on the "Templating" category.
Alternatively, view Twig alternatives based on common mentions on social networks and blogs.
-
Smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. -
Latte
☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites. -
PHPTAL
PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages -
Aura.View
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Twig or a related project?