PHP version stats: July, 2026
Written on 2026-07-09Welcome back to another blog post about PHP's version usage across the community. You can read the previous edition here, but as always I'll include historic data in this post as well. You'll notice that we skipped the edition of January 2026; I was too busy with other things at that point and didn't find the time to work on it. I did include the January 2026 data where possible in this post, for completeness.
If this is your first time reading one of these overviews, it's important to note that I'm working with the data available. These charts aren't a 100% accurate representation of the PHP community as a whole, but they are an accurate representation of one of the most prominent parts of PHP: the packagist ecosystem.
Let's see how PHP evolved in 2026 and also check out how PHP 8.5 is being adopted half a year after its release!
Usage Statistics
For the first time, I'll be using live-rendered charts in these blog posts. If you run into any issues, let me know.
We start with the most recent PHP versions, showing their usage evolution over two years. This table shows how quickly new PHP versions get adopted.
| Version | 2025-01-01 | 2025-06-01 | 2026-01-01 | 2026-07-01 |
| 7.4 | 8% | 7% | 5% | 5% |
| 8.0 | 3% | 3% | 2% | 1% |
| 8.1 | 18% | 13% | 8% | 5% |
| 8.2 | 29% | 25% | 20% | 14% |
| 8.3 | 33% | 34% | 30% | 24% |
| 8.4 | 5% | 14% | 27% | 32% |
| 8.5 | - | 0% | 5% | 16% |
Zooming out a little more, here's version adoption since 2021:
What's most interesting is comparing how quickly new versions get adopted in their first year:
| Version | Usage after 6 months |
| 8.5 | 16% |
| 8.4 | 14% |
| 8.3 | 20% |
| 8.2 | 17% |
| 8.1 | 25% |
| 8.0 | 15% |
You can see how 8.5 adoption is relatively low compared to 8.1 or 8.3. Let's visualize all data in one chart to get a global overview of how PHP adoption evolves over time:
Required versions
The PHP ecosystem heavily drives version adoption: the more third party packages push towards higher version requirements, the more projects are forced to stay up to date. If you want some more insights into my train of thought, you can watch me explain it best in this video:
So that's why I also look at the minimal required version of the 1000 most popular packages on Packagist. This data gives a good indication of how much PHP's open source community is pushing projects forwards.
A couple of important things to mention, though:
- This table shows the minimum required version. That means that packages with a minimal version of, for example, 8.0 could also support PHP 8.1 through PHP 8.5.
- If you count the numbers, you'll notice there are some differences between each year. Not every package lists a valid version string. Furthermore, I switched to a more accurate parser a year ago, which might cause some slight differences.
- Finally, remember that January 2026 was skipped.
| Version | 2025-01-01 | 2025-07-01 | 2026-01-01 | 2026-07-01 |
| 5.2 | 5 | 0 | - | 2 |
| 5.3 | 52 | 28 | - | 34 |
| 5.4 | 26 | 39 | - | 14 |
| 5.5 | 15 | 7 | - | 4 |
| 5.6 | 31 | 18 | - | 13 |
| 7.0 | 25 | 27 | - | 15 |
| 7.1 | 101 | 71 | - | 68 |
| 7.2 | 123 | 87 | - | 90 |
| 7.3 | 45 | 59 | - | 26 |
| 7.4 | 81 | 95 | - | 68 |
| 8.0 | 128 | 106 | - | 82 |
| 8.1 | 194 | 234 | - | 175 |
| 8.2 | 171 | 187 | - | 171 |
| 8.3 | 4 | 26 | - | 68 |
| 8.4 | - | - | - | 111 |
| 8.5 | - | - | - | 2 |
It's easiest to visualize this data into a chart for a relative comparison, so that we can see changes over time:
It's good to see 111 packages jump to 8.4 at the minimum. My general conclusion from this graph is still the same, though: anything under PHP 8.2 receives no updates at all anymore. Only 352 out of 1000 packages require a minimum PHP that's still receives security updates. Between PHP 8.2 and PHP 8.5 though, only the latest two versions get active bugfixing support, PHP 8.2 and PHP 8.3 only get security updates; which means that only 113 out of 1000 packages require a version that's actively supported.
I'll end this blog post with a call to action for open source maintainers: help keep PHP up to date by pushing minimum versions to at least security supported ones. You have the power to move PHP forward.
Join over 14k subscribers on my mailing list: I write about PHP, programming, and keep you up to date about what's happening on this blog. You can subscribe by sending an email to brendt@stitcher.io.