+ 1

What is Twig?

It is a modern template engine for PHP. It is flexible, fast, and secure. Its syntax originates from Jinja and Django templates.
Twig is a tool in the Frameworks (Full Stack) category of a tech stack.

Who uses Twig?

27 companies reportedly use Twig in their tech stacks, including Avito, Namshi, and Clippings.

54 developers on StackShare have stated that they use Twig.

Twig Integrations

Twig Alternatives & Comparisons

What are some alternatives to Twig?
Blade is a lightweight MVC framework. It is based on the principles of simplicity and elegance.
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values.
Handlebars.js is an extension to the Mustache templating language created by Chris Wanstrath. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
It is an open-source template language written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. It is safe, customer facing template language for flexible web apps.
See all alternatives

Twig's Followers
60 developers follow Twig to keep up with related blogs and decisions.
Dilantha Nanayakkara
Julio CĂ©sar Retamal Rojas
Robert Kealey
Ben Bricker
Robert Wilson
Lluis Corominas
Bashaar Qaiyume
Lukas Walkenbach