The original post: /r/php by /u/2019-01-03 on 2024-12-14 12:04:19.
The SQL to generate this takes up a page, but if you're interested here's the queries.
version | min | max |
-----------+-------+-------+
NO VERSION | 175,180 [40.1%]
5.0-5.2 | 3207 | 0
5.3 | 31113 | 10
5.5 | 17948 | 9
5.6 | 19357 | 697
7.0 | 26505 | 504
7.1 | 28041 | 374
7.2 | 22092 | 360
7.3 | 12562 | 290
7.4 | 23867 | 32167 [7.44%]
8.0 | 22049 | 233 [0.05%]
8.1 | 20110 | 5839 [1.4%]
8.2 | 5046 | 996 [0.2%]
8.3 | 546 | 215519 [49.9%]
At least 206,741 packages [47.8%] explicitly support unsupported PHP versions.
We should encourage people to only support PHP 8.x in their most recent versions.
I'm a part of this trend / problem. Only one of my 35 projects targets PHP 8.x as the minimum, and it was so it would support the latest Laravel.
So one of my New Years resolutions will be to upgrade all of my Packagist packages, except for 3 explicitly targeting all PHP versions, to support PHP 8.0 as a minimum for all future development.
This can be our Go-PHP8 moment.