symfony/polyfill-php73
Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 79
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 3
- age_days: 3052
- days_rel: 129
- days_push: 129
- n_releases_24m: 4
Adoption not part of the score
2370 stars · 6 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony polyfill component that backports PHP 7.3 core functions such as array_key_first, array_key_last, hrtime, is_countable, and JsonException to older PHP versions. It lets codebases use PHP 7.3 APIs while still running on earlier PHP runtimes.
Use cases
- use array_key_first and array_key_last on PHP 7.1 or 7.2
- call hrtime for high-resolution timing on older PHP
- use is_countable before upgrading to PHP 7.3
- catch JsonException on PHP versions below 7.3
- write code targeting PHP 7.3 APIs while supporting legacy PHP runtimes
When to choose
- your library or app must run on PHP versions older than 7.3 but uses 7.3 functions
- you maintain a widely distributed package that needs broad PHP version compatibility
When to avoid
- your codebase already requires PHP 7.3 or newer
- you need polyfills for features from other PHP versions
Facets
library · maturity stable
developer-tools developer-tools programming-languages php polyfill shim php-73 compatibility symfony-component
5 sources
- readme: https://github.com/symfony/polyfill-php73 · fetched 2026-08-28 · 383c43a2d58c
- homepage: https://symfony.com/polyfill-php73 · fetched 2026-08-29 · bde85d9afbf5
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · a84b8a49342e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/polyfill-php73 | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="symfony/polyfill-php73")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem