Skip to content

Increase minimum PHP supported version #2785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Kocal opened this issue May 28, 2025 · 4 comments
Open

Increase minimum PHP supported version #2785

Kocal opened this issue May 28, 2025 · 4 comments
Milestone

Comments

@Kocal
Copy link
Member

Kocal commented May 28, 2025

IDK what will be the new miminum PHP supported version for UX, but I guess it will depends when it will be released, and depending on Symfony 8.0 too?

For refs:

@Kocal Kocal added this to the 3.x milestone May 28, 2025
@smnandre
Copy link
Member

I would personnaly say: UX 3.0 should be 8.2 minimum

And we'll see in december for SF 8.0 ?

@Kocal
Copy link
Member Author

Kocal commented Jun 2, 2025

Given internal discussions, there is about 99.99% change Symfony 8 requires at least PHP 8.4.

But, requiring PHP 8.4 means that we will should remove compatibility with Symfony 6.4 (PHP 8.1) and 7.x (PHP 8.2).

Requiring PHP 8.2 means that we will remove compatibility with Symfony 6.4, which is maintained until November 2026, for 17 months. And I feel wrong about this, since framework-bundle still represents as much installations for 6.x:

Image

To summarize my thoughts, I don't think right now we should increase the minimum supported PHP version, maybe in one/two years, for a 4.x or 5.x?

cc @smnandre @kbond

EDIT: ignore text above 😅 let's say PHP 8.2 for UX 3.x :)

@nicolas-grekas
Copy link
Member

It's totally possible to run a Symfony 6.4 app on PHP 8.4, which means I don't understand this side of the presented argument.

@Kocal
Copy link
Member Author

Kocal commented Jun 2, 2025

... yes 🤦🏻

I think I'll go to sleep :D

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

No branches or pull requests

3 participants