Need help with yii2-twig?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

134 Stars 56 Forks BSD 3-Clause "New" or "Revised" License 4.8K Commits 4 Opened issues


Yii 2 Twig extension.

Services available


Need anything else?

Contributors list

Twig Extension for Yii 2

This extension provides a

that would allow you to use Twig view template engine with Yii framework 2.0.

For license information check the LICENSE-file.

Documentation is at docs/guide/

Latest Stable Version Total Downloads Build Status


The preferred way to install this extension is through composer:

php composer.phar require --prefer-dist yiisoft/yii2-twig


To use this extension, configure it as described in documentation.


  • PHP 7.2 - 7.4

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.