Link Search Menu Expand Document

Twig is an open-source template language for PHP.

Release Released Security Support Latest
3 3 years ago
(15 Nov 2019)
Yes 3.4.3
(28 Sep 2022)
2 5 years and 11 months ago
(05 Jan 2017)
Yes 2.15.3
(28 Sep 2022)
1 11 years ago
(27 Mar 2011)
Yes 1.44.7
(28 Sep 2022)

Twig 1, 2 and 3 still receive security updates.

PHP Compatibility

Twig Version Supported PHP Version
3 >=7.2.5
2 >=7.1.3
1 >=7.2.5

You should be running one of the supported release numbers listed above in the rightmost column.


You can submit an improvement to this page on GitHub :octocat: . This page has a corresponding Talk Page.

A JSON version of this page is available at /api/twig.json. See the API Documentation for more.

This page was last updated on 21 December 2022. Latest releases are automatically updated.