-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Summary
This issue tracks all work required to support Symfony 8.0 in Sylius. Symfony 8.0 was released on November 27, 2025, and requires PHP >=8.4.
References:
Blocking Sylius packages
-
sylius/fixtures-bundle— supports Symfony 8 -
sylius/mailer-bundle— supports symfony 8 -
sylius/theme-bundle— supports symfony 8 -
sylius/twig-extra— already supports^8.0 -
sylius/twig-hooks— already supports^8.0 -
sylius/resource-bundle—1.14already supports^8.0
Blocking third-party dependencies
Runtime
-
knplabs/knp-gaufrette-bundle— constrainssymfony/configto^5.0|^6.0|^7.0 -
payum/payum-bundle— constrainssymfony/framework-bundleto^4.4||^5.4||^6.0||^7.0 -
symfonycasts/dynamic-forms—mainalready supports^8.0 -
doctrine/doctrine-bundle— v3.2.2 supports^8.0(requires bumping Sylius constraint from^2.13to^3.2)
Dev
-
friends-of-behat/mink— constrainssymfony/css-selectorto^4.4|^5.0|^6.0|^7.0 -
friends-of-behat/symfony-extension— constrainssymfony/dependency-injectionto
^6.4||^7.0 -
friends-of-behat/variadic-extension— constrainssymfony/dependency-injectionto
^5.4||^6.4||^7.0 -
behat/behat— constrains symfony to^5.4||^6.4||^7.0- Symfony 8 support issue and Modernize Behat configuration #18822 -
phparkitect/phparkitect— v0.8.0 supports^8.0(requires bumping Sylius constraint from^0.6to^0.8)
Packages to remove
-
symfony/proxy-manager-bridge— does not exist in Symfony 8 (max 6.4), replaced by native lazy proxies in PHP 8.4+ -
friendsofphp/proxy-manager-lts— related to the above
Doctrine DBAL upgrade
- Symfony 8.0's
doctrine-messengerrequiresdoctrine/dbal ^4.3, Sylius currently requires^3.9 -
doctrine/doctrine-bundle3.x also requiresdoctrine/dbal ^4.0 - DBAL 3.x → 4.x has its own breaking changes — likely a separate effort
XML configuration migration
Symfony 7.4 deprecates XmlFileLoader for service definitions and routing. It is removed in 8.0. The following XML files loaded via Symfony's XmlFileLoader need to be migrated to PHP or YAML:
- service definition XML files (
Resources/config/services/*.xml,Resources/config/*.xml) - All Extension classes using
XmlFileLoaderneed to switch toPhpFileLoaderorYamlFileLoader
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels