Twig is an open-source template language for PHP.

Release Released Security Support Latest
3 4 years ago
(15 Nov 2019)
Yes 3.8.0
(21 Nov 2023)
2 7 years ago
(05 Jan 2017)
Ended 1 month and 3 weeks ago
(31 Dec 2023)
2.16.0
(22 Dec 2023)
1 12 years ago
(27 Mar 2011)
Ended 1 year and 4 months ago
(28 Sep 2022)
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.2.5
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 information. You can subscribe to the iCalendar feed at /calendar/twig.ics.