Modern Web Development

Welcome to cleody.com

A blog, focused on Laravel, WordPress, Webdesign and LAMP server administration.

2019-12-01

Get Twig Version

If you want to check the used version of Twig, you can enter this line to one of your template files:

<p>Twig version is {{ constant('Twig_Environment::VERSION') }}</p> 

Another option is to check the file vendor/twig/twig/lib/Twig/Environment.php or *vendor/twig/twig/src/Environment.php...