mezzio/mezzio-template
Template subcomponent for Mezzio
3.0.0
4.4M downloads/mo
#1719 most downloaded on Packagist
mezzio/mezzio-template
What this package is like to depend on
Last release 10 months ago
11 Oct 2025
Ships fairly regularly
a new release about every 7 months
Some releases are documented
notes for 10 of 23 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
23 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
18 releases · Dec 2019 to Oct 2025Releases
latest 23-
3.0.011 Oct 2025Release notes
Open source →Release Notes for 3.0.0
Version 3.0.0 of
mezzio-templatecontains several changes that break backwards compatibility.Mezzio\Template\TemplateRendererInterfaceThe following methods have been removed:
addPathgetPaths
As an interface whose primary purpose is to render a named template to a string, adding and listing template file paths is out of scope. The engine in use may not even deal with the filesystem, so these methods are no longer forced on implementors.
General Changes
- Native PHP types have been added to all properties, parameters and return types where previously there were none.
This affects a number of method signatures and will therefore require code changes in classes that override or implement these methods. - Shipped exceptions have been marked as
final ExceptionInterfacenow inherits fromThrowable- The documented types relating to template variables or parameters have been refined from
array<string, mixed>toarray<non-empty-string, mixed>. The more precise types will affect users of static analysis tooling, and as such a new method has been addedArrayParametersTrait::normalizeParamsAsMap()that should ease the burden of asserting the correct types for implementors
3.0.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 2
Dependencies,Enhancement
- 45: Merge release 2.13.0 into 3.0.x thanks to @github-actions[bot]
QA
- 43: Merge release 2.12.0 into 3.0.x thanks to @github-actions[bot]
BC Break,QA
- 41: Mark shipped exceptions as
finalthanks to @gsteel
BC Break,Bug,QA
BC Break,Enhancement,QA
BC Break,Feature Removal
-
2.13.011 Oct 2025Release notes
Open source →Release Notes for 2.13.0
2.13.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies,Enhancement
-
2.12.030 Sep 2025Release notes
Open source →Release Notes for 2.12.0
Feature release (minor)
2.12.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Documentation,Feature Removal
- 42: Deprecate
addPathsandgetPathsthanks to @gsteel
Dependencies,QA
- 35: Update dependency vimeo/psalm to v6 thanks to @renovate[bot]
renovate
-
2.11.016 Oct 2024Release notes
Open source →Release Notes for 2.11.0
Feature release (minor)
2.11.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 33: Add support for PHP 8.4 thanks to @gsteel
-
2.10.008 Jan 2024Release notes
Open source →Release Notes for 2.10.0
Feature release (minor)
2.10.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
2.9.001 Nov 2023Release notes
Open source →Release Notes for 2.9.0
Feature release (minor)
2.9.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
- 29: Add support for PHP 8.3 thanks to @fezfez
-
2.8.006 Apr 2023Release notes
Open source →Release Notes for 2.8.0
Feature release (minor)
2.8.0
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 2
Enhancement
renovate
- 24: Update dependency phpunit/phpunit to v10 thanks to @renovate[bot]
- 23: Update dependency vimeo/psalm to v5 thanks to @renovate[bot]
-
2.7.010 Oct 2022Release notes
Open source →Release Notes for 2.7.0
Feature release (minor)
2.7.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
2.6.010 Oct 2022Release notes
Open source →Release Notes for 2.6.0
Feature release (minor)
2.6.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Enhancement
-
2.5.014 Sep 2022Release notes
Open source →Release Notes for 2.5.0
Feature release (minor)
2.5.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 4
Enhancement
- 20: Apply PHP 7.4 syntax and typed property thanks to @samsonasik
- 19: Drop support for PHP 7.3 thanks to @gsteel
- 15: Prepare for Renovate with reusable workflows thanks to @ghostwriter
renovate
- 16: Configure Renovate thanks to @renovate[bot]
-
2.4.003 Dec 2021Nothing published for this version
-
2.3.011 Oct 2021Nothing published for this version
-
2.2.005 Oct 2021Nothing published for this version
-
2.1.123 Jan 2021Nothing published for this version
-
2.1.023 Jan 2021Nothing published for this version
-
2.0.131 Dec 2019Nothing published for this version
-
2.0.0no dateNothing published for this version
-
1.0.431 Dec 2019Nothing published for this version
-
1.0.3no dateNothing published for this version
-
1.0.231 Dec 2019Nothing published for this version
-
1.0.1no dateNothing published for this version
-
1.0.0no dateNothing published for this version
-
2.0.0alpha1no dateNothing published for this version