NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #255 most downloaded on Packagist
Provides integration for Twig with various Symfony components
Latest stable
v8.1.10
Last release 8 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 1 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
723 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug symfony/symfony#58706 [TwigBridge] use reproducible variable names in the default domain node visitor (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.0-BETA1...v7.2.0-BETA2)
feature symfony/symfony#57839 [Form] Deprecate VersionAwareTest trait (@derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.6...v7.2.0-BETA1)
block via the #[Template] attribute (@smnandre)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.9...v7.1.10) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.9...v7.1.10)
bug symfony/symfony#58964 [TwigBridge] do not add child nodes to EmptyNode instances (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.8...v7.1.9)
bug symfony/symfony#58823 [TwigBridge] Fix emojify as function in Undefined Handler (@smnandre)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.7...v7.1.8)
bug symfony/symfony#58649 [TwigBridge] ensure compatibility with Twig 3.15 (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.5...v7.1.6)
parse_url() checks (@nicolas-grekas)Node() instantiations (@fabpot)bug symfony/symfony#58207 [TwigBridge] Avoid calling deprecated mergeGlobals() (@derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.4...v7.1.5)
bug symfony/symfony#58078 [TwigBridge] Fix Twig deprecation notice (@yceruto)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.3...v7.1.4)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0...v7.1.1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0...v7.1.1)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0-RC1...v7.1.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0-RC1...v7.1.0)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0-BETA1...v7.1.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.1.0-BETA1...v7.1.0-RC1)
feature symfony/symfony#54432 [TwigBridge] Add emojify twig filter (@lyrixx)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.7...v7.1.0-BETA1)
emojify twig filter (@lyrixx)twig:lint to excludes dirs (@94noni)separator to ChoiceType to use a custom separator after preferred choices (@mboultoureau)Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.7...v7.0.8) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.7...v7.0.8)
bug symfony/symfony#54598 [TwigBridge] implement NodeVisitorInterface instead of extending AbstractNodeVisitor (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.6...v7.0.7)
bug symfony/symfony#54425 [TwigBridge] Remove whitespaces from block form_help output (@rosier)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.5...v7.0.6)
bug symfony/symfony#53926 [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels (@wetternest)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.3...v7.0.4)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.2...v7.0.3)
RawMessage::$message to null (@nicolas-grekas)<input /> syntax again, reverting #47715 (@mpdude)TranslationNodeVisitor with constant domain (@VincentLanglet)bug symfony/symfony#52990 [TwigBridge] don't use deprecated and internal Twig functions (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.1...v7.0.2)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-RC2...v7.0.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-RC2...v7.0.0)
bug symfony/symfony#52719 [Mime] Add TemplatedEmail::$locale to the serialized props (@mkrauser)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-RC1...v7.0.0-RC2)
TemplatedEmail::$locale to the serialized props (@mkrauser)Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-BETA3...v7.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-BETA3...v7.0.0-RC1)
security symfony/symfony#cve-2023-46734 [TwigBridge] Ensure CodeExtension's filters properly escape their input (@nicolas-grekas, @GromNaN)
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-BETA2...v7.0.0-BETA3)
@internal (@fabpot)Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-BETA1...v7.0.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v7.0.0-BETA1...v7.0.0-BETA2)
feature symfony/symfony#51470 [FrameworkBundle][Serializer] Deprecate annotations (@alexandre-daubois)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.6...v7.0.0-BETA1)
duplicate_preferred_choices option to ChoiceType (@arnaud-deabreu)impersonation_path() argument mandatory and add impersonation_url() (@alexandre-daubois)FormLayoutTestCase class (@ker0x)AppVariable::getEnabledLocales() (@jmsche)TemplatedEmail::locale() to set the locale for the email rendering (@alexander-schranz)<input> (@ThomasLandauer)form_help block (@seb-jean)Changelog ( v6.4.46...v6.4.49 )
Changelog (v6.4.46...v6.4.49)
[SECURITY] Security release
Changelog ( v6.4.44...v6.4.46 )
Changelog (v6.4.44...v6.4.46)
bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.43...v6.4.44)
minor #64816 Allow Twig 4 (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.42...v6.4.43)
bug #64566 Harden __toString trampolines via __unserialize() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.40...v6.4.42)
security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.36...v6.4.40)
bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.35...v6.4.36)
bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.34...v6.4.35)
bug #63472 Fix Bootstrap 4 form errors rendered inside (@asispts)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.33...v6.4.34)
<label> (@asispts)bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.31...v6.4.32)
bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.30...v6.4.31)
bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.29...v6.4.30)
bug symfony/symfony#61402 Remove calls to deprecated methods of SplObjectStorage (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.24...v6.4.25)
bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.23...v6.4.24)
TranslatableInterface in IdentityTranslator (@VincentLanglet)@var phpdoc (@fabpot)Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.21...v6.4.22) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.21...v6.4.22)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.20...v6.4.21) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.20...v6.4.21)
bug symfony/symfony#60054 [Form] Use duplicate_preferred_choices to set value of ChoiceType (@aleho)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.19...v6.4.20)
bug symfony/symfony#59774 [TwigBridge] Fix compatibility with Twig 3.21 (@alexandre-daubois)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.18...v6.4.19)
isRendered method to ensure we can avoid rendering an email twice (@walva)Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.16...v6.4.17) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.16...v6.4.17)
bug symfony/symfony#58964 [TwigBridge] do not add child nodes to EmptyNode instances (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.15...v6.4.16)
bug symfony/symfony#58649 [TwigBridge] ensure compatibility with Twig 3.15 (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.12...v6.4.13)
parse_url() checks (@nicolas-grekas)Node() instantiations (@fabpot)bug symfony/symfony#58207 [TwigBridge] Avoid calling deprecated mergeGlobals() (@derrabus)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.11...v6.4.12)
bug symfony/symfony#58078 [TwigBridge] Fix Twig deprecation notice (@yceruto)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.10...v6.4.11)
bug symfony/symfony#57355 [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3 (@tscni)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.8...v6.4.9)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.7...v6.4.8) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.7...v6.4.8)
bug symfony/symfony#54598 [TwigBridge] implement NodeVisitorInterface instead of extending AbstractNodeVisitor (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.6...v6.4.7)
bug symfony/symfony#54425 [TwigBridge] Remove whitespaces from block form_help output (@rosier)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.5...v6.4.6)
bug symfony/symfony#53926 [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels (@wetternest)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.3...v6.4.4)
bug symfony/symfony#53678 [Mime] Fix serializing uninitialized RawMessage::$message to null (@nicolas-grekas)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.2...v6.4.3)
RawMessage::$message to null (@nicolas-grekas)<input /> syntax again, reverting #47715 (@mpdude)TranslationNodeVisitor with constant domain (@VincentLanglet)bug symfony/symfony#52990 [TwigBridge] don't use deprecated and internal Twig functions (@xabbuh)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.1...v6.4.2)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-RC2...v6.4.0) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-RC2...v6.4.0)
importmap() Twig functionTemplatedEmail::locale() to set the locale for the email renderingAppVariable::getEnabledLocales() to retrieve the enabled localesimpersonation_path() and impersonation_url() Twig functionsChangelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-RC1...v6.4.0-RC2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-RC1...v6.4.0-RC2)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-BETA3...v6.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-BETA3...v6.4.0-RC1)
security symfony/symfony#cve-2023-46734 [TwigBridge] Ensure CodeExtension's filters properly escape their input (@nicolas-grekas, @GromNaN)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-BETA2...v6.4.0-BETA3)
@internal (@fabpot)Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-BETA1...v6.4.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.0-BETA1...v6.4.0-BETA2)
feature symfony/symfony#51470 [FrameworkBundle][Serializer] Deprecate annotations (@alexandre-daubois)
Changelog (https://github.com/symfony/twig-bridge/compare/v6.3.6...v6.4.0-BETA1)
duplicate_preferred_choices option to ChoiceType (@arnaud-deabreu)impersonation_path() argument mandatory and add impersonation_url() (@alexandre-daubois)FormLayoutTestCase class (@ker0x)AppVariable::getEnabledLocales() (@jmsche)TemplatedEmail::locale() to set the locale for the email rendering (@alexander-schranz)<input> (@ThomasLandauer)form_help block (@seb-jean)One column per quarter.