{"adoption": {"forks": 26, "observed_at": "2026-08-28T04:05:28.118747+00:00", "stars": 1725}, "canonical_url": "https://ross.abutalabs.com/products/polyfill-php80", "card": {"archived": false, "artifact_type": "library", "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "domain": ["developer-tools", "programming-languages", "cross-platform"], "enriched": true, "function": ["developer-tools"], "health_score": 86, "homepage": "https://symfony.com/polyfill-php80", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["symfony/polyfill-php80"], "name": "symfony/polyfill-php80", "platform": ["php", "cli"], "pushed_at": "2026-04-26T14:44:42+00:00", "repo": "symfony/polyfill-php80", "stars": 1725, "tags": ["polyfill", "shim", "php8", "compatibility", "symfony-component"], "topics": ["symfony", "polyfill", "component", "symfony-component", "compatibility", "javascript", "portable", "shim", "symfony-polyfill"], "urls": [], "use_cases": ["use str_contains and str_starts_with on PHP 7.4", "make my library compatible with older PHP versions", "backport PHP 8.0 features to PHP 7", "get Stringable interface and ValueError on legacy PHP", "run code using PhpToken on PHP 7", "avoid version checks for PHP 8 string functions"], "what_it_is": "A Symfony component that backports PHP 8.0 core features (such as str_contains, str_starts_with, str_ends_with, Stringable, ValueError, and PhpToken) to older PHP versions. It lets libraries and applications use PHP 8.0 APIs while still running on PHP 7.x.", "when_to_avoid": ["your code targets PHP 8.0+ only", "you need polyfills for newer PHP versions like 8.1 or 8.2 (use the matching polyfill packages)"], "when_to_choose": ["you maintain a library supporting both PHP 7 and PHP 8", "you need PHP 8.0 core functions/classes on older runtimes", "you want a tiny, MIT-licensed, widely-tested compatibility shim"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/polyfill-php80", "repo": "symfony/polyfill-php80", "role": "main", "score": 84}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:28.118747+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:33:52.973284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aa82982386e938338c6996741e749b520a9577ba8d689456d0bd605151b434ba", "fetched_at": "2026-08-28T04:05:28.118747+00:00", "kind": "readme", "missing": false, "url": "https://github.com/symfony/polyfill-php80"}, {"content_hash": "382a8120ff1e2d07af6e333d35006f315faddaa120ac70dbef0036844cc985b9", "fetched_at": "2026-08-29T11:09:17.599905+00:00", "kind": "homepage", "missing": false, "url": "https://symfony.com/polyfill-php80"}, {"content_hash": "44889134f4fb7667fc156f6aa19b524c32df208a02756d59eacc0262725f7bfd", "fetched_at": "2026-08-29T11:09:17.608731+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/doc"}, {"content_hash": "5bd749e2b6762e15759a7073bf28626338d35575d716f7564d4f7323e88c911b", "fetched_at": "2026-08-29T11:09:17.610896+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/releases"}, {"content_hash": "0739a28df2e8978f23a411a334f32df5009246347dc8a76f65618617752e9a56", "fetched_at": "2026-08-29T11:09:17.612915+00:00", "kind": "site_page", "missing": false, "url": "https://symfony.com/blog/category/releases"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 79, "longevity": 100, "rhythm": 81}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2409, "days_push": 129, "days_rel": 129, "gap_med": 3, "n_releases_24m": 4}, "score": 84, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}