sonata-project/twig-extensions
Sonata twig extensions
2.6.0
12M downloads/mo
#2082 most downloaded on Packagist
sonata-project/twig-extensions
What this package is like to depend on
Last release 9 months ago
23 Nov 2025
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 25 of 29 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
30 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
30 releases · Apr 2019 to Nov 2025
2020
2021
2022
2023
2024
2025
2026
Releases
latest 30-
2.6.023 Nov 2025 -
2.5.009 Sep 2024Release notes
Open source →Added
Fixed
- [#409] Symfony 7.1 deprecation about
Symfony\Component\HttpKernel\DependencyInjection\Extensionusage (@VincentLanglet)
Release notes
Open source →Added
Fixed
- [#409] Symfony 7.1 deprecation about
Symfony\Component\HttpKernel\DependencyInjection\Extensionusage (@VincentLanglet)
- [#409] Symfony 7.1 deprecation about
-
2.4.023 Nov 2023 -
2.3.001 Aug 2023 -
2.2.031 Jul 2023 -
2.1.025 Apr 2023 -
2.0.001 Aug 2022 -
2.0.0-alpha115 Jun 2022 pre-release -
1.12.028 Jul 2022Release notes
Open source →Added
- [#341] Support for
sonata-project/doctrine-extensions^2 (@VincentLanglet)
Release notes
Open source →Added
- [#341] Support for
sonata-project/doctrine-extensions^2 (@VincentLanglet)
- [#341] Support for
-
1.11.028 Jul 2022Release notes
Open source →Removed
- [#338]
symfony/translationrequirement (@VincentLanglet) - [#330] Support of Symfony 5.3 (@franmomu)
- [#321] PHP 7.3 support (@VincentLanglet)
Release notes
Open source →Removed
- [#338]
symfony/translationrequirement (@VincentLanglet) - [#330] Support of Symfony 5.3 (@franmomu)
- [#321] PHP 7.3 support (@VincentLanglet)
- [#338]
-
1.10.021 May 2022Release notes
Open source →Deprecated
- [#318] Passing a string to StatusRuntime::statusClass (@VincentLanglet)
- [#318] StatusRendererCompilerPass (@VincentLanglet)
- [#316] Deprecated custom bundle file for flex recipe. (@jordisala1991)
-
1.9.104 Dec 2021 -
1.9.022 Sep 2021Release notes
Open source →Added
- [#253] Added support for Symfony 6 (@jordisala1991)
Removed
- [#253] Removed support for Symfony 5.1 and 5.2 (@jordisala1991)
-
1.8.008 Sep 2021 -
1.7.020 Jul 2021Release notes
Open source →Added
- [#222] Allow customizing flashbag groups (@core23)
- [#221]
Sonata\Twig\FlashMessage\FlashManager::$requestStackproperty (@yann-eugone)
Changed
- [#221]
Sonata\Twig\FlashMessage\FlashManager::__construct()$sessionargument allowed types forSymfony\Component\HttpFoundation\Session\SessionInterfaceorSymfony\Component\HttpFoundation\RequestStack(@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManager::getSession()method to fetch session from request stack (@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManagerservice definition to inject'request_stack'service instead of'session'(@yann-eugone)
Deprecated
- [#225]
sonata_urlsafeidfilter (@VincentLanglet) - [#221] Passing
Symfony\Component\HttpFoundation\Session\SessionInterfaceas $session argument ofSonata\Twig\FlashMessage\FlashManager::__construct()(@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManager::$sessionproperty (@yann-eugone)
Fixed
- [#221] Usage of deprecated 'session' service since Symfony 5.3 (@yann-eugone)
-
1.6.018 May 2021Release notes
Open source →Added
- [#216] Added "more" ans "less" translations in french. (@rgrassian)
-
1.5.115 Feb 2021Release notes
Open source → -
1.5.005 Jan 2021Release notes
Open source →Added
- [#159] Added missing
pltranslations. (@axzx) - [#169] Support for PHP8 (@VincentLanglet)
- [#159] Added missing
-
1.4.208 Dec 2020Release notes
Open source → -
1.4.109 Aug 2020 -
1.4.008 Aug 2020Release notes
Open source →Added
- [#90] Add
Sonata\Twig\FlashMessage\FlashManager::addFlash(string $type, string $message): voidto add flash message directly by FlashManager (@wbloszyk) - [#90] Add
Sonata\Twig\FlashMessage\FlashManagerInterfaceto allow create custom FlashManager (@wbloszyk) - [#90] Add twig
function
sonata_flashmessage_class- get css class from flash message type in Twig (@wbloszyk) - [#100] Added
Sonata\Twig\Bridge\Symfony\SonataTwigSymfonyBundle. (@phansys)
Changed
Deprecated
- [#99] Deprecated
sonata_template_deprecatetwig tag andsonata.twig.deprecated_template_extensionservice. (@franmomu) - [#99] Deprecated
DeprecatedTemplateExtension,DeprecatedTemplateNodeandDeprecatedTemplateTokenParserclasses. (@franmomu)
Fixed
- [#90] Fix
working
FlashManagerasStatusClassRenderer(@wbloszyk) - [#100] Fixed
Flex recipe implementation through
SonataTwigSymfonyBundlealias. (@phansys)
Removed
- [#90] Add
-
1.3.129 Jun 2020Release notes
Open source →Fixed
- [#92] Fix
Sonata\Twig\Status\StatusClassRendererInterfaceimplementation inSonata\Twig\FlashMessage\FlashManager(@wbloszyk) - [#92] Fix
Sonata\Twig\Extension\StatusRuntimeto working withSonata\Twig\FlashMessage\FlashManageragain, after add type hints (@wbloszyk) - [#94] CSS Class now returned for flash messages (@benrcole)
- [#92] Fix
-
1.3.004 Jun 2020Release notes
Open source →Removed
- remove return type hints in
Sonata\Twig\FlashMessage\FlashManager::handlesObject() - remove return type hints in
Sonata\Twig\FlashMessage\FlashManager::getStatusClass() - remove return type hints in
Sonata\Twig\FlashMessage\StatusClassRendererInterface::handlesObject() - remove return type hints in
Sonata\Twig\FlashMessage\StatusClassRendererInterface::getStatusClass() - remove return type hints in
Sonata\Form\Type\BaseStatusType::configureOptions()
- remove return type hints in
-
1.2.021 Mar 2020Release notes
Open source →Added
- Added support for
twig/twig:^3.0 - Added
flashmessage.cssfrom CoreBundle
- Added support for
-
1.1.104 Jan 2020Release notes
Open source →Fixed
- Fixed wrong service ids
- Add missing
form_typeparameter in configuration - Make twig templates discoverable automatically
-
1.1.006 Dec 2019 -
1.0.030 Apr 2019Nothing published for this version
-
0.1.106 Jun 2020Nothing published for this version
-
0.1.029 May 2020Nothing published for this version
-
0.1-BETA09 May 2020Nothing published for this version