Twig Tweak is a small module which provides a Twig extension with some useful functions and filters that can improve development experience.

Cheat sheet

About 3.x branch

Twig Tweak 3.x API is not fully compatible with 8.x-2.x branch, however, it should take you a few minutes to update your Twig templates. Otherwise you can stay on 8.x-2.x branch which is still supported.

Project information

Releases