Skip to content

Update Symfony package versions to include 8.0#9

Closed
tcoch wants to merge 1 commit intophp-runtime:mainfrom
tcoch:patch-1
Closed

Update Symfony package versions to include 8.0#9
tcoch wants to merge 1 commit intophp-runtime:mainfrom
tcoch:patch-1

Conversation

@tcoch
Copy link
Copy Markdown

@tcoch tcoch commented Dec 18, 2025

While trying https://github.com/dunglas/symfony-docker for a new Symfony 8 project, I encountered this error :

Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "8.0.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires runtime/frankenphp-symfony * -> satisfiable by runtime/frankenphp-symfony[0.1.0, 0.1.1, 0.2.0, 1.0.0].
    - runtime/frankenphp-symfony[0.1.0, ..., 0.1.1] require symfony/dependency-injection ^5.4 || ^6.0 -> found symfony/dependency-injection[v5.4.0, ..., v5.4.48, v6.0.0, ..., v6.4.30] but these were not loaded, likely because it conflicts with another require.
    - runtime/frankenphp-symfony[0.2.0, 1.0.0] require symfony/dependency-injection ^5.4 || ^6.0 || ^7.0 -> found symfony/dependency-injection[v5.4.0, ..., v5.4.48, v6.0.0, ..., v6.4.30, v7.0.0, ..., v7.4.2] but these were not loaded, likely because it conflicts with another require.

This PR aims to resolve that.

@qdequippe
Copy link
Copy Markdown

👋🏼 maybe this PR (and this lib) is not necessary anymore ?

Symfony 7.4 improves the integration with FrankenPHP worker mode. You no longer need to install the runtime/frankenphp-symfony package. Just upgrade to Symfony 7.4, which natively supports FrankenPHP worker mode out of the box.

https://symfony.com/blog/new-in-symfony-7-4-dx-improvements-part-2

@tcoch
Copy link
Copy Markdown
Author

tcoch commented Dec 27, 2025

👋🏼 maybe this PR (and this lib) is not necessary anymore ?

Symfony 7.4 improves the integration with FrankenPHP worker mode. You no longer need to install the runtime/frankenphp-symfony package. Just upgrade to Symfony 7.4, which natively supports FrankenPHP worker mode out of the box.

https://symfony.com/blog/new-in-symfony-7-4-dx-improvements-part-2

I agree. It's fixed in dunglas/symfony-docker#873.
I'm closing this PR.

@tcoch tcoch closed this Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants