{"adoption": {"forks": 91, "observed_at": "2026-08-28T04:05:03.862235+00:00", "stars": 1561}, "canonical_url": "https://ross.abutalabs.com/products/php-standard-library", "card": {"archived": false, "artifact_type": "library", "description": "PHP Standard Library", "domain": ["developer-tools", "programming-languages", "web-development"], "enriched": true, "function": ["serialization", "cryptography", "concurrency", "http-client", "cli", "file-system", "math", "logging", "networking"], "health_score": 99, "homepage": "https://php-standard-library.dev", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["php-standard-library/php-standard-library"], "name": "php-standard-library/php-standard-library", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-26T10:31:57+00:00", "repo": "php-standard-library/php-standard-library", "stars": 1561, "tags": ["standard-library", "type-safety", "async", "fibers", "collections", "data-structures", "terminal-ui", "type-assertion", "multibyte-strings", "password-hashing", "command-line"], "topics": ["php", "standard-library", "collection", "data-structures", "encoding", "multibyte-strings", "password-hashing", "json", "math", "pseudo-random", "secure-random", "type-assertion", "grapheme-cluster", "io", "shell", "html", "async", "non-blocking", "ansi", "terminal-ui"], "urls": [], "use_cases": ["validate and coerce untrusted input with type combinators", "run concurrent tasks with structured concurrency in PHP", "work with collections using type-safe functional operations", "hash passwords and generate secure random values", "build terminal UIs with ANSI support", "handle multibyte strings and grapheme clusters correctly", "perform non-blocking TCP and network I/O"], "what_it_is": "PSL is a standard library for PHP inspired by Hack's HSL, providing consistent, well-typed APIs for collections, async, I/O, cryptography, validation, and terminal UI. It replaces PHP's inconsistent built-in functions with safer, async-ready alternatives that fail predictably.", "when_to_avoid": ["you must support PHP versions older than 8.4", "you're maintaining a legacy codebase deeply tied to native PHP functions", "you only need a tiny utility and don't want a full standard library dependency"], "when_to_choose": ["you want a consistent, type-safe alternative to PHP's scattered built-in functions", "you need structured async concurrency in PHP without promise/callback complexity", "you're building PHP 8.4+ applications that benefit from strict typing and predictable errors"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-standard-library", "repo": "php-standard-library/php-standard-library", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "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:03.862235+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.862235+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:29:44.662281+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4ea8e0bfa3f96c0439870babf10bf26a3ef89fc3058f4dc8011fa27c160c0b", "fetched_at": "2026-08-28T04:05:03.862235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-standard-library/php-standard-library"}, {"content_hash": "7099da25d318d1832c27436859358ac5453092cbf6d34eb19dd4ddccf846ee9a", "fetched_at": "2026-08-29T11:29:19.179572+00:00", "kind": "homepage", "missing": false, "url": "https://php-standard-library.dev"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 85}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2445, "days_push": 7, "days_rel": 102, "gap_med": 5, "n_releases_24m": 26}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}