NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1399 most downloaded on Packagist
Twig powered View for CakePHP
Latest stable
2.1.2
Last release 5 months ago
21 Jun 2026
Release timing varies
gaps range from 8 days to 2.0 years
Nearly every release is documented
notes for 16 of 17 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
21 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Bump minimum twig version to v3.11 to fix Possible sandbox bypass security vulnerability by @ishanvyas22 in #100
include tag being vulnerable to path traversal by @markstory in #118Full Changelog: 2.1.1...2.1.2
include tag being vulnerable to path traversal by @markstory in https://github.com/cakephp/twig-view/pull/118Full Changelog: https://github.com/cakephp/twig-view/compare/2.1.1...2.1.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix CS by @LordSimal in https://github.com/cakephp/twig-view/pull/113
Full Changelog: https://github.com/cakephp/twig-view/compare/2.1.0...2.1.1
update stan by @LordSimal in #104 , #106 , #107 , #110
Full Changelog: 2.0.3...2.1.0
Full Changelog: https://github.com/cakephp/twig-view/compare/2.0.3...2.1.0
Bump up twig to address possible sandbox bypass. by @ADmad in #102
Full Changelog: 2.0.2...2.0.3
Full Changelog: https://github.com/cakephp/twig-view/compare/2.0.2...2.0.3
2.x: change composer.json to cake5 stable version by @LordSimal in #95
Full Changelog: 2.0.1...2.0.2
Full Changelog: https://github.com/cakephp/twig-view/compare/2.0.1...2.0.2
Update to stable releases. Full Changelog : 2.0.0...2.0.1
Full Changelog: 2.0.0...2.0.1
Full Changelog: https://github.com/cakephp/twig-view/compare/2.0.0...2.0.1
First version compatible with CakePHP 5.0
First version compatible with CakePHP 5.0
Full Changelog: 1.3.0...2.0.0
First version compatible with CakePHP 5.0
Full Changelog: https://github.com/cakephp/twig-view/compare/1.3.0...2.0.0
Backport security fixes to 1.x by @markstory in #120
Full Changelog: https://github.com/cakephp/twig-view/compare/1.3.2...1.3.3
This version adjusted the minimum Twig version to ^3.27.0
This version adjusted the minimum Twig version to ^3.27.0
Full Changelog: https://github.com/cakephp/twig-view/compare/1.3.1...1.3.2
Bump minimum twig version to v3.11 to fix Possible sandbox bypass security vulnerability by @ishanvyas22 in #100
Full Changelog: 1.3.0...1.3.1
Full Changelog: https://github.com/cakephp/twig-view/compare/1.3.0...1.3.1
Use FrozenTime instead of deprecated Time
FrozenTime instead of deprecated Timeup and low filters are deprecated in favor of the standard upper and lower twig filters.
Added layout tag for setting the layout from view template.
This is the replacement for $this->layout = 'Name' when porting from CakePHP View templates.
{% layout 'Name' %}
up and low filters are deprecated in favor of the standard upper and lower twig filters.Nothing published for this version
debug and pr filters deprecated. Use Twig dump() function instead.
DebugExtension only loaded when debug configure is true.format and number_format are no longer hidden/overridden. Use cake_number_format instead.defaultCurrency() function calls Number::getDefaultCurrency() instead of Number::defaultCurrency().debug and pr filters deprecated. Use Twig dump() function instead.count filter deprecated. Use Twig length filter instead.number_formatter() function deprecated. Use cake_number_format filter instead.Templates loaded through internal Twig tags and functions like extends or include() are always relative to the root App.paths.templates directories. P
extends or include() are always relative to the root App.paths.templates directories. Previously, they were restricted by the Controller template path.Templates now load the same using either Twig or View functions.
Templates now load the same using either Twig or View functions.
Previously, templates loaded through extends or include() required the file extension and only loaded from the local templates directory. Now, they can load from plugins and anywhere View loads templates.
Users who wrote custom Twig templates with 1.0.0 that used the full filename will need to remove the .twig extension.
Loading templates through View functions like element() and cell() should work the same as before.
element and cell tags from wyrihaximus/twig-view supported with deprecation warnings.
cakephp/twig-view 1.0 is the official plugin for Twig template views in your CakePHP application. This package replaces wyrihaximus/twig-view and provides tighter coupling with CakePHP.
ViewBuilder.AppView. No more event-based configuration.fetch(), element() and cell() functions allow you to access View data in a Twig-friendly way. No more |raw after every call.markdown_to_html() support with DefaultMarkdown.element and cell tags from wyrihaximus/twig-view supported with deprecation warnings.Nothing published for this version
Nothing published for this version
Fixed loading .twig files directly with Twig tags and functions like include()
2nd release candidate.
include()Nothing published for this version
One column per quarter.