The PHP ecosystem does not wait for a new release — but it does not declare support either
After a PHP release ships, when do the 500 most-installed Composer packages declare that they support it, and how much does that declaration actually say?
Finding
43.5% of installs arrive on a constraint with no upper bound at all — `symfony/console` says `>=8.4.1` today, which claims support for PHP 12 as well. Of the 280 packages that do close the top, 247 made the commitment before the version existed: `guzzlehttp/guzzle` covered 8.4 in October 2020, four years early. That leaves 33 packages that genuinely waited, at a median of 325 days. The raw medians fall version over version and read as an ecosystem speeding up; restricted to an equal observation window the trend reverses (238 → 215 → 325 days).
- Installs on an unbounded constraint
- 43.5%
- Committed in advance
- 247 / 280 packages
- Median for those who waited
- 325 days
- Equal window, 8.2 → 8.4
- 238 → 325 days +37%
3 sources
- 01 Packagist API packagist.org · accessed Contract for the popularity list and the p2 metadata endpoint.
- 02 PHP: Supported Versions php.net · accessed The GA dates that are the zero point of every lag.
- 03 Composer — Versions and constraints getcomposer.org · accessed Source for the caret and tilde readings, and the evidence they differ from semver.
Method
The 500 most-installed packages were taken from Packagist's popularity endpoint, every stable release of each was pulled from the `repo.packagist.org/p2` metadata endpoint, and the `require.php` constraint each release shipped with was read. Constraints are resolved by a hand-written reader: npm's `semver` reads the same syntax differently from Composer (`~8.1` is `>=8.1 <9.0` in Composer, `>=8.1.0 <8.2.0` in semver), so it was not borrowed; the reader throws on anything it cannot parse rather than swallowing it, and the run counts those (zero this time). Which bucket a package lands in passes three filters: packages born after the release are excluded (they cannot have waited), releases with no constraint count as admitting every PHP (they block nothing), and lag is measured only on constraints that close at the top. Cross-version comparison is clipped to the shortest observation window (639 days). The scan is deterministic: re-running it the same day returns the same figures.
- Checked on
- Published
checked yesterday
Environment
- Population
- Packagist, top 500 packages by installs
- Endpoints
- packagist.org/explore/popular.json · repo.packagist.org/p2
- Version filter
- stable tags only (dev/alpha/beta/RC excluded)
- PHP release dates
- php.net/supported-versions (8.2: 2022-12-08 · 8.3: 2023-11-23 · 8.4: 2024-11-21)
- Comparison window
- 639 days — the shortest observation period (8.4)
- Unreadable constraints
- 0
Technologies
To reproduce
node scan.mjs --top 500 --php 8.2,8.3,8.4 The question was simple: after PHP 8.4 shipped, when did the ecosystem start
supporting it? Every team asks a version of this — “when can I upgrade” — and
looking for the answer in require.php constraints seemed reasonable.
The figure never appeared. What appeared is more interesting: why it cannot be asked for.
The first answer: nobody waited
The raw scan says 481 of 500 packages admitted PHP 8.4 before it shipped. That is 99.7% by install count. The number that genuinely waited and widened afterwards is zero.
The result is true and useless, because this is what “admitted” rests on:
| Package | First admitting release | Date | Constraint |
|---|---|---|---|
| symfony/console | 2.0.4 | 2011-09-26 | none |
| psr/log | 1.0.0 | 2012-12-21 | none |
| guzzlehttp/psr7 | 1.0.0 | 2015-05-19 | >=5.4.0 |
| psr/container | 1.0.0 | 2017-02-14 | >=5.3.0 |
A package that wrote >=5.4.0 in 2015 has not declared support for PHP 8.4. It
has set a floor. Composer does not distinguish the two — anything that does not
block installation counts as compatible — but a reader has to.
Half the constraints never close at the top
223 of the 500 most-installed packages never bound their upper end. By install count that is 56.4%. Those constraints admit PHP versions that do not exist yet:
| Package | Installs | Constraint today | What it claims |
|---|---|---|---|
| symfony/console | 1.18 billion | >=8.4.1 | everything, PHP 12 included |
| psr/log | 1.26 billion | >=8.0.0 | everything, PHP 12 included |
| symfony/polyfill-mbstring | 1.26 billion | >=7.2 | everything, PHP 12 included |
| psr/container | 1.10 billion | >=7.4.0 | everything, PHP 12 included |
This is not an accusation. Closing the top is a maintenance cost: every new PHP release means walking the dependency tree and tagging again. An open upper bound is a reasonable way to decline that cost. But the consequence stands: for half the ecosystem, the constraint holds no answer to “does it support this”.
Where a date starts to mean something
That leaves 280 packages whose constraint closes at the top — ^8.0, or
8.0 - 8.4. Here the date says something, because writing ^8.0 is a
deliberate forward commitment: all of PHP 8.
| PHP | Bounded declarers | Committed in advance | Widened later | Never bounded |
|---|---|---|---|---|
| 8.2 | 265 | 201 | 64 | 194 |
| 8.3 | 274 | 223 | 51 | 199 |
| 8.4 | 280 | 247 | 33 | 202 |
guzzlehttp/guzzle covered PHP 8.4 in October 2020 — four years early, by
writing ^7.2.5 || ^8.0. phpunit/phpunit in August 2020, doctrine/lexer in
May 2020. The caret does the work: say “all of PHP 8” once and you never touch
the file again for 8.1, 8.2, 8.3 or 8.4.
How long the waiters wait
The 33 packages that did widen afterwards took a median of 325 days. Over a year.
| Package | Installs | Lag | Constraint it widened to |
|---|---|---|---|
| guzzlehttp/promises | 1.06 billion | 546 days | ^7.2.5 || ^8.0 |
| theseer/tokenizer | 822 million | 362 days | ^7.2 || ^8.0 |
| myclabs/deep-copy | 923 million | 253 days | ^7.1 || ^8.0 |
| nette/utils a rare genuinely closed range in the wild | 454 million | 194 days | 8.0 - 8.4 |
The trend is censoring, not speed
The raw medians fall from version to version: 559 days for 8.2, 418 for 8.3, 325 for 8.4. “The ecosystem is speeding up” comes from here, and it is wrong.
The reason is plain: 8.2 has been observable for three years and seven months, 8.4 for one year and nine months. A package that will widen for 8.4 next spring is invisible today, so 8.4’s median is drawn from the fast half of its distribution alone.
Clipped to the shortest window (639 days):
| PHP | Raw median | Widened within 639 days | Median in that window |
|---|---|---|---|
| 8.2 | 559 days | 35 | 238 days |
| 8.3 | 418 days | 33 | 215 days |
| 8.4 | 325 days | 33 | 325 days |
What it is good for
Planning an upgrade, you read composer why-not php 8.4, and most of what stands
in the output comes from this scan’s bounded cohort. The other half never appears
— not because it does not block you, but because nobody knows whether it would.
An absent declaration is not a green light; it is an unmeasured risk.
The measurement itself is repeatable: scan.mjs and the raw JSON of the
22 August 2026 run are in the repository. When PHP 9 arrives the same command
over the same 500 packages will produce a very different table — and that will be
the real test.
Related posts
Is PHP Dead? The 2026 Picture, by the Numbers
A view from 18 years of PHP development — the 2026 state of PHP through W3Techs, Stack Overflow, JetBrains, and Packagist data, including the language's often-ignored weaknesses.
Building Applications with PHP in 2026: State of the Ecosystem
The real state of PHP in 2026: language maturity, ecosystem health, and why the 'it's dead' narrative is still wrong.
PHP 8.6 is on the way: the language's steady evolution
Before PHP 8.6 ships: why predictable annual releases and 'boring' versions of a mature language are actually good news.