We are going to deploy the new yiiframework.com website on March 23, 2018 from 8:00 to 12:00 UTC.
Website and Yii documentation will not be available in this time frame. Check the news for more details.

Twig Extension 2.1.1 released

Oct 11, 2017

Today we've released version 2.1.1 of the Twig extension. Changes are the following:

  • Exception page now displays exact template line where an issue has occurred. Before there was, at best, a line from template compiling result that was not useful at all.
  • A Twig extension added allowing to work with Html helper in templates. You can find more details in the guide. Without the extension it was not possible to use methods such as addCssClass() because of Twig limitations.
  • Bugfixes.
  • More docs.

This version was worked on by new Twig extension maintainer, Anton Gubarev (@amarox). He's using the extension is his projects and volunteered to both polish it to perfection and develop it further.