Popularity
9.3
Stable
Activity
9.8
Growing
8,219
210
1,258
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: 6,486,195
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.
Cloudways' Black Friday Offer - 1st Choice of Developers
Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations.
Promo
platform.cloudways.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?