Twig has moved on as of Craft 5.4, and the twig-perversion hacks no longer work.

As of Craft 5.4, the twig version has been updated, and the twig-perversion tags no longer work. It had a good run.

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
Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
917
Version
5.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
April 29, 2024
Activity (30 days)
0
Closed Issues
1
Open Issues
1
Merged PRs
1
Open PRs