Repository navigation
Next minimum PHP version for Flow: 8.4 or 8.5? #2783
Replies: 3 comments 3 replies
What our dependencies requireWe checked the PHP requirement of every direct dependency of Flow, at the version we use today and at its latest release. Held back by PHP 8.3These dependencies already dropped PHP 8.3 in their newer releases. Flow stays on older versions of them as long as it supports 8.3.
No effect on the decisionAll other dependencies work with any PHP version we consider.
What this means for the poll
This list covers the 69 direct dependencies of the main |
|
The more versions a project supports, the more companies come to expect that support. Long support windows become a way to postpone upgrades instead of a safety net. I don't think open source maintainers should carry that cost. Tools like Renovate, together with automated testing and deployment, make staying current fairly cheap. With that in place, two supported PHP versions are enough: a project can upgrade PHP first while keeping the same Flow version, then upgrade Flow separately. Changing one thing at a time also makes it much easier to find the cause when something breaks. |
|
Is anyone paying you to develop Flow? If not, then the answer is "whatever version you damn well please." You do not owe anyone support on older versions. If you do so, it's purely out of the goodness of your heart. So if you want to use features in 8.5 or 8.6, go for it. If that causes an issue for someone using Flow who can't upgrade without upgrading their PHP server first... that's their problem, unless they want to give you money to make it your problem. Don't fall into the easy trap of feeling you "owe it to your users." You owe them a good faith effort to produce code without security issues. That's it. Anything more, you do what you want until you agree to a support contract. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Flow is going to drop PHP 8.3. The open question is how far the minimum moves.
PHP 8.3 as the minimum
PHP 8.4 as the minimum
PHP 8.5 as the minimum
clonewith properties and#[\NoDiscard].Older Flow releases stay available for PHP 8.3 and 8.4, but they get no new features as until release 1.0 flow is developed at 1.x branch.
10 votes ·
All reactions