Twig Perversion

Making twig do things it really shouldn't. Twig is not intended to be a general purpose programming language, and there are some things that really don't belong in the language. This plugin adds a few of those things anyway.

  • {% while %}, {% break %}, {% continue %}, and {% return %} tags
  • === and !== operators
  • is numeric and is string tests
  • array_splice, string, float, int, and bool filters


Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


  • Version 2.2.0
  • Last Update 12/8/2020
  • Active Installs 782
  • Compatibility Craft 3
  • License MIT
  • Categories Templating, Development

Report an issue