{"adoption": {"forks": 44, "observed_at": "2026-08-28T04:03:45.019203+00:00", "stars": 1143}, "canonical_url": "https://ross.abutalabs.com/products/scalar_objects", "card": {"archived": false, "artifact_type": "library", "description": "Extension that adds support for method calls on primitive types in PHP", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["programming-language", "developer-tools"], "health_score": 42, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "experimental", "member_repos": ["nikic/scalar_objects"], "name": "nikic/scalar_objects", "platform": ["php", "windows"], "pushed_at": "2025-08-10T14:09:34+00:00", "repo": "nikic/scalar_objects", "stars": 1143, "tags": ["php-extension", "primitive-types", "method-calls", "proof-of-concept", "api-design", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["call methods directly on strings and arrays in PHP", "prototype new PHP primitive type APIs in userland", "design consistent APIs to propose for PHP core", "replace inconsistent PHP string and array functions with object syntax"], "what_it_is": "A PHP C extension that enables method calls on primitive types like strings and arrays, e.g. $str->length(). It serves as a proof-of-concept for prototyping redesigned primitive APIs that could be proposed for inclusion in PHP core.", "when_to_avoid": ["you need production-ready code, since this is a proof of concept", "you use the PHP JIT compiler, which is incompatible", "you need PHP 8.2+ support"], "when_to_choose": ["you are designing or prototyping new PHP core APIs for primitive types", "you want to experiment with object-style syntax on scalars in PHP 7.0-8.1"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/scalar_objects", "repo": "nikic/scalar_objects", "role": "main", "score": 48}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "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:03:45.019203+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.019203+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:34:56.657487+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d236252c2f11a8253b70830e99c207c2567900fdef9424f51622fbf40821f42a", "fetched_at": "2026-08-28T04:03:45.019203+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nikic/scalar_objects"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 36, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4968, "days_push": 388, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 48, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}