Twig is an open-source template language for PHP.

Release Released Security Support Latest
3 4 years and 7 months ago
(15 Nov 2019)
Yes 3.10.3
(16 May 2024)
2 7 years ago
(05 Jan 2017)
Ended 5 months and 2 weeks ago
(31 Dec 2023)
2.16.0
(22 Dec 2023)
1 13 years ago
(27 Mar 2011)
Ended 1 year and 8 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.