symfony/polyfill
PHP polyfills observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- 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: 6.5
- age_days: 3968
- days_rel: 9
- days_push: 9
- n_releases_24m: 11
Adoption not part of the score
2811 stars · 158 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A set of PHP polyfill packages that backport functions, classes, and constants from newer PHP versions and provide compatibility layers for common extensions like mbstring, iconv, ctype, and intl. It lets code run consistently across different PHP versions and extension configurations.
Use cases
- use str_contains and str_starts_with on PHP 7.x
- run code on hosts missing the mbstring or intl extension
- backport PHP 8 functions to PHP 7 projects
- make a library compatible across many PHP versions
- replace apc with apcu transparently
- get utf8_encode on newer PHP versions
When to choose
- you maintain a library or app that must support multiple PHP versions
- your code depends on extensions that may not be installed on all hosts
- you want to use modern PHP functions while keeping backward compatibility
When to avoid
- you target a single recent PHP version with all extensions available
- you need full intl functionality beyond the limited 'en' locale fallback
- you want a general-purpose utility library rather than compatibility shims
Facets
library · maturity stable
developer-tools sdk developer-tools web-development cross-platform php polyfill php-compatibility backporting portability symfony-component mbstring intl
6 sources
- readme: https://github.com/symfony/polyfill · fetched 2026-08-28 · 6155a37fba30
- homepage: https://symfony.com · fetched 2026-08-29 · 68595089eb73
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/contributing/community/releases.html · fetched 2026-08-29 · e46dc2ffbd61
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 83b70dd163fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/polyfill | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="symfony/polyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem