symfony/polyfill-php56
This component provides functions unavailable in releases prior to PHP 5.6. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 3968
- days_rel: n/a
- days_push: 1127
- n_releases_24m: 0
Adoption not part of the score
1556 stars · 2 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 5.6 functions (hash_equals and ldap_escape) to older PHP releases. It lets code written against PHP 5.6+ APIs run on earlier PHP versions.
Use cases
- run code using hash_equals on PHP older than 5.6
- use ldap_escape on legacy PHP versions
- make a library compatible across PHP 5.x versions
- avoid version-conditional function checks in PHP code
- support legacy PHP deployments with modern function APIs
When to choose
- you maintain a library that must support PHP versions below 5.6
- your code calls hash_equals or ldap_escape but runs on older PHP
- you want a drop-in, MIT-licensed compatibility shim
When to avoid
- your project already requires PHP 5.6 or newer
- you only target modern PHP versions where the functions exist natively
Facets
library · maturity maintenance
sdk developer-tools developer-tools programming-languages cross-platform php cli polyfill php-5-6 compatibility-shim symfony-component hash-equals ldap-escape
5 sources
- readme: https://github.com/symfony/polyfill-php56 · fetched 2026-08-28 · b4a7ebc31c1b
- homepage: https://symfony.com/polyfill-php56 · fetched 2026-08-29 · 1ada2df317d1
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 429432437be6
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 67d57e8c6560
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/polyfill-php56 | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="symfony/polyfill-php56")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem