slim/twig-view
Slim Framework 4 view helper built on top of the Twig 3 templating component
3.4.1
9.1M downloads/mo
#1745 most downloaded on Packagist
slimphp/Twig-View
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.3 years
Some releases are documented
notes for 8 of 18 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
20 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
20 releases · Mar 2015 to Sep 2024Releases
latest 20-
3.4.126 Sep 2024Release notes
Open source →Fixed
- Fix Twig security issue #328. Bump twig/twig dependency to version 3.11.1 to address a Twig security issue (GHSA-6j75-5wfj-gh66). Thanks to @dfranco
-
3.4.028 Apr 2024Release notes
Open source →What's Changed
- Update README.md by @nbayramberdiyev in #262
- PHP 8.2 support by @faissaloux in #280
- Bump psr/http-message requirement from '^1.1' to '^1.1 || ^2.0' by @odan in #312
New Contributors
- @faissaloux made their first contribution in #280
Full Changelog: 3.3.0...3.3.1
-
3.3.002 Jan 2022Release notes
Open source →Total issues resolved: 20
- 206: Update phpstan/phpstan requirement from ^0.12.58 to ^0.12.64 thanks to @dependabot-preview[bot]
- 207: Update twig/twig requirement from ^3.1 to ^3.2 thanks to @dependabot-preview[bot]
- 209: Update phpstan/phpstan requirement from ^0.12.64 to ^0.12.70 thanks to @dependabot-preview[bot]
- 210: Update phpstan/phpstan requirement from ^0.12.64 to ^0.12.71 thanks to @dependabot-preview[bot]
- 213: Update twig/twig requirement from ^3.2 to ^3.3 thanks to @dependabot-preview[bot]
- 214: Fix error "Slim\Views\TwigExtension as extensions have already been initialized" on RoadRunner server thanks to @Hi-Alan
- 215: Upgrade to GitHub-native Dependabot thanks to @dependabot-preview[bot]
- 217: Update phpstan/phpstan requirement from ^0.12.80 to ^0.12.85 thanks to @dependabot[bot]
- 218: Update squizlabs/php_codesniffer requirement from ^3.5 to ^3.6 thanks to @dependabot[bot]
- 219: Update slim/slim requirement from ^4.7 to ^4.8 thanks to @dependabot[bot]
- 222: Update phpstan/phpstan requirement from ^0.12.85 to ^0.12.90 thanks to @dependabot[bot]
- 228: Update phpstan/phpstan requirement from ^0.12.90 to ^0.12.99 thanks to @dependabot[bot]
- 229: Add Github Actions Workflow thanks to @l0gicgate
- 230: Remove php 7.2 reference from README thanks to @l0gicgate
- 231: Remove ignore directives thanks to @l0gicgate
- 232: Update slim/slim requirement from ^4.8 to ^4.9 thanks to @dependabot[bot]
- 236: Fix deprecation warning PHP 8.1 (+ small things) thanks to @t0mmy742
- 237: Update phpstan/phpstan requirement from ^0.12.99 to ^1.2.0 thanks to @dependabot[bot]
- 238: Drop Support for PHP 7.3 thanks to @nbayramberdiyev
- 239: Update phpstan/phpstan requirement from ^1.2.0 to ^1.3.0 thanks to @dependabot[bot]
-
3.2.008 Dec 2020Release notes
Open source →Total issues resolved: 18
- 176: Update slim/slim requirement from ^4.0 to ^4.5 thanks to @dependabot-preview[bot]
- 177: Fix phpstan 0.12 errors thanks to @adriansuter
- 178: Update phpstan/phpstan requirement from ^0.12.23 to ^0.12.25 thanks to @dependabot-preview[bot]
- 179: Update phpstan/phpstan requirement from ^0.12.25 to ^0.12.26 thanks to @dependabot-preview[bot]
- 180: Update phpstan/phpstan requirement from ^0.12.26 to ^0.12.27 thanks to @dependabot-preview[bot]
- 181: Update phpstan/phpstan requirement from ^0.12.27 to ^0.12.28 thanks to @dependabot-preview[bot]
- 182: Update phpstan/phpstan requirement from ^0.12.28 to ^0.12.29 thanks to @dependabot-preview[bot]
- 185: Update phpstan/phpstan requirement from ^0.12.29 to ^0.12.31 thanks to @dependabot-preview[bot]
- 186: Update phpstan/phpstan requirement from ^0.12.31 to ^0.12.32 thanks to @dependabot-preview[bot]
- 188: Update phpstan/phpstan requirement from ^0.12.32 to ^0.12.33 thanks to @dependabot-preview[bot]
- 190: Update phpstan/phpstan requirement from ^0.12.33 to ^0.12.34 thanks to @dependabot-preview[bot]
- 193: Update phpstan/phpstan requirement from ^0.12.36 to ^0.12.37 thanks to @dependabot-preview[bot]
- 195: Update phpstan/phpstan requirement from ^0.12.37 to ^0.12.40 thanks to @dependabot-preview[bot]
- 197: Update phpstan/phpstan requirement from ^0.12.40 to ^0.12.52 thanks to @dependabot-preview[bot]
- 198: Update twig/twig requirement from ^3.0 to ^3.1 thanks to @dependabot-preview[bot]
- 200: Update phpstan/phpstan requirement from ^0.12.52 to ^0.12.58 thanks to @dependabot-preview[bot]
- 201: Update slim/slim requirement from ^4.5 to ^4.7 thanks to @dependabot-preview[bot]
- 204: PHP 8 Support thanks to @l0gicgate
-
3.1.013 Mar 2020Release notes
Open source →Total issues resolved: 7
- 166: Update .travis.yml thanks to @sergiy-petrov
- 167: Fix errors in README.md examples thanks to @nimamo
- 168: Fix signature thanks to @adriansuter
- 170: Fix Readme Version thanks to @l0gicgate
- 171: Upgrade phpunit to version 8.5 thanks to @adriansuter
- 172: Update Twig version in composer description thanks to @adriansuter
- 173: Add scripts to composer and update code sniffer thanks to @adriansuter
-
3.0.002 Dec 2019Release notes
Open source →Total issues resolved: 11
- 134: Fine tuning non container usage thanks to @bangzek
- 135: Dependency Inject LoaderInterface on Twig Constructor thanks to @bangzek
- 137: 3.x - Add coverage and license badges thanks to @adriansuter
- 139: 3.x - Remove php-di from the requirements thanks to @adriansuter
- 144: 3.x - Update composer require command in README thanks to @adriansuter
- 146: 3.x - Move Slim to the required packages thanks to @adriansuter
- 147: 3.x - Add phpcs and phpstan thanks to @adriansuter
- 152: Add base_path template function thanks to @odan
- 153: Fix url to Twig thanks to @adriansuter
- 154: [3.x\ Fix access to undefined array index thanks to @adriansuter
- 161: Support Twig 3 thanks to @t0mmy742
-
3.0.0-beta20 Aug 2019 pre-releaseRelease notes
Open source →Total issues resolved: **18**
- [106: Remove Twig 1 Mentions on README](#106) thanks to @l0gicgate
- [107: Add annotations and type-hints](#107) thanks to @adriansuter
- [108: Add type hints](#108) thanks to @adriansuter
- [109: Add test cases for Twig](#109) thanks to @adriansuter
- [110: Add test cases for TwigExtension](#110) thanks to @adriansuter
- [111: Fix indentation typos](#111) thanks to @jfcherng
- [112: Add container key](#112) thanks to @adriansuter
- [113: Refactor \Slim\Tests\TwigMiddlewareTest to remove duplicate code](#113) thanks to @adriansuter
- [114: Remove white-space](#114) thanks to @adriansuter
- [115: Create git attributes file](#115) thanks to @adriansuter
- [117: [3.x\ Decouple the extension definitions from their runtime implementations?](#117) thanks to @adriansuter
- [119: [3.x\ Decouple the extension definitions from their runtime implementations](#119) thanks to @adriansuter
- [120: [3.x\ Add middleware self-factory](#120) thanks to @adriansuter
- [122: TwigMiddleware doesn't set container only get](#122) thanks to @bangzek
- [123: [3.x\ Patch composer](#123) thanks to @adriansuter
- [126: 3.x - Remove unnecessary uses](#126) thanks to @adriansuter
- [127: 3.x - Add `TwigContext` to pass twig via server request attributes](#127) thanks to @adriansuter
- [131: 3.x - Fix Travis Config To Speed Up Builds](#131) thanks to @l0gicgate -
3.0.0-alpha28 Apr 2019 pre-release -
2.5.128 Nov 2019Release notes
Open source →Total issues resolved: 1
- 158: Support Installing Twig 3 thanks to @adamaveray
-
2.5.006 Apr 2019Release notes
Open source →This release sets the minimum Twig version to 1.38.0 or 2.7.0 due to CVE-2019-9942.
Total issues resolved: 4
- 99: README.md Typo fix thanks to @Bunkermaster
- 102: implement url_for() fixes #101 thanks to @splitbrain
- 103: annotate twig exceptions in fetch method thanks to @mbolli
- 104: Replace deprecated methods as of Twig 2.7 thanks to @trasher
-
2.4.007 May 2018Nothing published for this version
-
2.3.020 Sep 2017Nothing published for this version
-
2.2.025 Jan 2017Nothing published for this version
-
2.1.113 Mar 2016Nothing published for this version
-
2.1.007 Mar 2016Nothing published for this version
-
1.2.011 Jul 2015Nothing published for this version
-
1.1.128 Jun 2015Nothing published for this version
-
1.1.029 May 2015Nothing published for this version
-
2.017 Aug 2015Nothing published for this version
-
1.014 Mar 2015Nothing published for this version