Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Twig Bridge Laravel Package

symfony/twig-bridge

Twig Bridge integrates the Twig template engine with Symfony components, letting you render Twig templates within Symfony apps and use framework features like forms, translations, and routing directly in your templates.

View on GitHub
Deep Wiki
Context7
v8.1.7

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.5...v8.1.7)

  • bug #66043 Compose form theme blocks with Twig's BlockChain when available (@fabpot)
v8.1.5

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.4...v8.1.5)

  • bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
  • bug #65495 Fix the broken error box around Bootstrap 4 date and time widgets (@nicolas-grekas)
  • bug #65465 Pass a valid XML version to DOMDocument in the form layout test case (@nicolas-grekas)
v7.4.17

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.16...v7.4.17)

  • bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
  • bug #65495 Fix the broken error box around Bootstrap 4 date and time widgets (@nicolas-grekas)
  • bug #65465 Pass a valid XML version to DOMDocument in the form layout test case (@nicolas-grekas)
v6.4.44

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.43...v6.4.44)

  • bug #65541 Fix denormalizing mime messages typed as RawMessage (@nicolas-grekas)
  • bug #65495 Fix the broken error box around Bootstrap 4 date and time widgets (@nicolas-grekas)
  • bug #65465 Pass a valid XML version to DOMDocument in the form layout test case (@nicolas-grekas)
  • bug #65060 Fix compatibility with Twig 4 (@nicolas-grekas)
v8.1.4

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.2...v8.1.4)

v7.4.16

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.15...v7.4.16)

v8.1.2

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.1...v8.1.2)

  • minor #64664 Document the hidden placeholder of required ChoiceType fields (@lacatoire)
  • bug #64931 prevent implicit string casts for translatable message objects (@xabbuh)
  • minor #64816 Allow Twig 4 (@xabbuh)
  • bug #64891 ensure that a label with value "0" is rendered (@xabbuh)
v8.0.15

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.14...v8.0.15)

  • bug #64931 prevent implicit string casts for translatable message objects (@xabbuh)
  • minor #64816 Allow Twig 4 (@xabbuh)
  • bug #64891 ensure that a label with value "0" is rendered (@xabbuh)
v7.4.15

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.14...v7.4.15)

  • bug #64931 prevent implicit string casts for translatable message objects (@xabbuh)
  • minor #64816 Allow Twig 4 (@xabbuh)
  • bug #64891 ensure that a label with value "0" is rendered (@xabbuh)
v6.4.43

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.42...v6.4.43)

  • minor #64816 Allow Twig 4 (@xabbuh)
  • bug #64891 ensure that a label with value "0" is rendered (@xabbuh)
v8.1.1

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0...v8.1.1)

  • minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
  • bug #64566 Harden __toString trampolines via __unserialize() (@nicolas-grekas)
  • bug #64549 Reject __toString trampolines in TemplatedEmail::__unserialize() (@nicolas-grekas)
  • minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
v8.0.14

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.12...v8.0.14)

  • minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
  • bug #64566 Harden __toString trampolines via __unserialize() (@nicolas-grekas)
  • bug #64549 Reject __toString trampolines in TemplatedEmail::__unserialize() (@nicolas-grekas)
  • minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
v7.4.14

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.12...v7.4.14)

  • minor #64647 Relax test assertions for generated _fragment URI (@nicolas-grekas)
  • bug #64566 Harden __toString trampolines via __unserialize() (@nicolas-grekas)
  • bug #64549 Reject __toString trampolines in TemplatedEmail::__unserialize() (@nicolas-grekas)
  • minor #64524 Make tests compatible with PHPUnit 13.2 and Twig 3.28 (@nicolas-grekas)
v6.4.42

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.40...v6.4.42)

  • bug #64566 Harden __toString trampolines via __unserialize() (@nicolas-grekas)
  • bug #64549 Reject __toString trampolines in TemplatedEmail::__unserialize() (@nicolas-grekas)
v8.1.0-BETA3

Changelog (https://github.com/symfony/twig-bridge/compare/v8.1.0-BETA1...v8.1.0-BETA3)

  • security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
  • bug #64300 Fix daisyUI form layout and AppVariable locale filtering (@nicolas-grekas)
  • bug #64242 Require Twig to 3.25 for EscaperRuntime service definition (@GromNaN)
v8.0.12

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.8...v8.0.12)

  • security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
v7.4.12

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.8...v7.4.12)

  • security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
v6.4.40

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.36...v6.4.40)

  • security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
v8.1.0-BETA1

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.12...v8.1.0-BETA1)

  • security #cve-2026-45072 Fix XSS issue in CodeExtension::fileExcerpt() (@nicolas-grekas)
  • feature #63945 Make constraint validators reentrant instead of being stateful (@stof)
  • feature #60334 Add daisyUI form layout (@Oviglo)
  • feature #63335 Add form_flow_* helper functions (@ker0x)
  • feature #63032 Dispatch events named after controller attributes (@nicolas-grekas)
  • feature #63092 Expose controller metadata throughout the request lifecycle (@nicolas-grekas)
  • feature #63121 Allow using env vars in the list of enabled locales (@nicolas-grekas)
  • feature #63090 Return attributes as a flat list when using ControllerEvent::getAttributes(*) (@nicolas-grekas)
v8.0.8

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.7...v8.0.8)

  • bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
v7.4.8

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.7...v7.4.8)

  • bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
v6.4.36

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.35...v6.4.36)

  • bug #63683 Fix image method to use DataPart content ID (@pavelwitassek)
v8.0.7

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.6...v8.0.7)

  • bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
v7.4.7

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.6...v7.4.7)

  • bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
v6.4.35

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.34...v6.4.35)

  • bug #63568 Fix Bootstrap 4 horizontal layout broken by form errors moved outside label (@nicolas-grekas)
v8.0.6

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.5...v8.0.6)

  • bug #63472 Fix Bootstrap 4 form errors rendered inside <label> (@asispts)
  • bug #63235 phpdocumentor/reflection-docblock 6 compatibility (@mtarld)
v7.4.6

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.5...v7.4.6)

  • bug #63472 Fix Bootstrap 4 form errors rendered inside <label> (@asispts)
  • bug #63235 phpdocumentor/reflection-docblock 6 compatibility (@mtarld)
v6.4.34

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.33...v6.4.34)

  • bug #63472 Fix Bootstrap 4 form errors rendered inside <label> (@asispts)
v8.0.5

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.4...v8.0.5)

  • bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
v7.4.5

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.4...v7.4.5)

  • bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
v7.3.11

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.10...v7.3.11)

  • bug #63206 Conflict with phpdocumentor/reflection-docblock >= 6 (all branches) (@nicolas-grekas)
v8.0.4

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.3...v8.0.4)

  • bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
v7.4.4

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.3...v7.4.4)

  • bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
v7.3.10

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.9...v7.3.10)

  • bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
v6.4.32

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.31...v6.4.32)

  • bug #62884 Prevent cached block prefixes from leaking across nested collections (@nicolas-grekas)
v8.0.3

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.2...v8.0.3)

  • bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
  • bug symfony/symfony#62695 [TwigBridge] do not render button labels if they are explicitly disabled (@xabbuh)
v7.4.3

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.2...v7.4.3)

  • bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
  • bug symfony/symfony#62695 [TwigBridge] do not render button labels if they are explicitly disabled (@xabbuh)
v7.3.9

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.8...v7.3.9)

  • bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
v6.4.31

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.30...v6.4.31)

  • bug symfony/symfony#62744 [TwigBridge] do not use PHPUnit mock objects without configured expectations (@xabbuh)
v8.0.1

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0...v8.0.1)

  • bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
v7.4.1

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0...v7.4.1)

  • bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
v7.3.8

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.7...v7.3.8)

  • bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
v6.4.30

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.29...v6.4.30)

  • bug symfony/symfony#62621 [Form] Fix moneytype step (@Belhassen)
v7.4.0
v8.0.0
v8.0.0-RC1

Changelog (https://github.com/symfony/twig-bridge/compare/v8.0.0-BETA2...v8.0.0-RC1)

  • bug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
v7.4.0-RC1

Changelog (https://github.com/symfony/twig-bridge/compare/v7.4.0-BETA2...v7.4.0-RC1)

  • bug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
v7.3.6

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.5...v7.3.6)

  • bug symfony/symfony#62297 [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string (@yoeunes)
v8.0.0-BETA2
v8.0.0-BETA1

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#60902 [TwigBridgeRessources] add aria-invalid and aria-describedby on form inputs when validation failure exist (@jeanfrancois-morin)
  • feature symfony/symfony#61379 [Security][TwigBridge] Add access_decision() and access_decision_for_user() (@florentdestremau)
  • feature symfony/symfony#61109 [Translation] Deprecate TranslatableMessage::__toString (@VincentLanglet)
  • feature symfony/symfony#61048 [TwigBridge] remove the ability to pass a tag to FormThemeNode (@xabbuh)
  • feature symfony/symfony#60776 [Console][FrameworkBundle] Remove deprecated Application::add() methods (@HypeMC)
  • feature symfony/symfony#60394 [Console][FrameworkBundle] Simplify using invokable commands when the component is used standalone (@HypeMC)
  • feature symfony/symfony#60697 Enforce return types on all components (@nicolas-grekas)
  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.4...v7.4.0-BETA1)

  • feature symfony/symfony#60902 [TwigBridgeRessources] add aria-invalid and aria-describedby on form inputs when validation failure exist (@jeanfrancois-morin)
  • feature symfony/symfony#61379 [Security][TwigBridge] Add access_decision() and access_decision_for_user() (@florentdestremau)
  • feature symfony/symfony#61109 [Translation] Deprecate TranslatableMessage::__toString (@VincentLanglet)
  • feature symfony/symfony#60394 [Console][FrameworkBundle] Simplify using invokable commands when the component is used standalone (@HypeMC)
v7.3.3

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.2...v7.3.3)

  • bug symfony/symfony#61402 Remove calls to deprecated methods of SplObjectStorage (@nicolas-grekas)
v6.4.25

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.24...v6.4.25)

  • bug symfony/symfony#61402 Remove calls to deprecated methods of SplObjectStorage (@nicolas-grekas)
v7.3.2

Changelog (https://github.com/symfony/twig-bridge/compare/v7.3.1...v7.3.2)

  • bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
  • bug symfony/symfony#61111 [Translation] fix support of TranslatableInterface in IdentityTranslator (@VincentLanglet)
  • bug symfony/symfony#61106 Fix [@var](https://github.com/var) phpdoc (@fabpot)
  • bug symfony/symfony#60998 [TwigBridge] fix command option mode (InputOption::VALUE_REQUIRED) (@gharlan)
v7.2.9

Changelog (https://github.com/symfony/twig-bridge/compare/v7.2.8...v7.2.9)

  • bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
  • bug symfony/symfony#61111 [Translation] fix support of TranslatableInterface in IdentityTranslator (@VincentLanglet)
  • bug symfony/symfony#61106 Fix [@var](https://github.com/var) phpdoc (@fabpot)
  • bug symfony/symfony#60998 [TwigBridge] fix command option mode (InputOption::VALUE_REQUIRED) (@gharlan)
v6.4.24

Changelog (https://github.com/symfony/twig-bridge/compare/v6.4.23...v6.4.24)

  • bug symfony/symfony#60867 [WebProfilerBundle] Fix missing indent on non php files opended in the profiler (@phcorp)
  • bug symfony/symfony#61111 [Translation] fix support of TranslatableInterface in IdentityTranslator (@VincentLanglet)
  • bug symfony/symfony#61106 Fix [@var](https://github.com/var) phpdoc (@fabpot)
v7.3.0
v7.2.7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo