{"adoption": {"forks": 67, "observed_at": "2026-08-28T04:07:09.013583+00:00", "stars": 2664}, "canonical_url": "https://ross.abutalabs.com/products/php-option", "card": {"archived": false, "artifact_type": "library", "description": "Option Type for PHP", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["error-handling", "developer-tools"], "health_score": 99, "homepage": null, "language": "PHP", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["schmittjoh/php-option"], "name": "schmittjoh/php-option", "platform": ["php"], "pushed_at": "2026-08-24T01:09:02+00:00", "repo": "schmittjoh/php-option", "stars": 2664, "tags": ["option-type", "functional-programming", "null-safety", "maybe-monad"], "topics": [], "urls": [], "use_cases": ["avoid null pointer errors in php", "return optional values from repository methods", "make php apis null-safe", "wrap nullable values in a some/none type", "handle missing values explicitly in php", "functional option type for php"], "what_it_is": "A PHP library implementing the Option type (Some/None) to represent optional values instead of returning null. It forces developers to explicitly handle both the value-present and value-absent cases, making APIs more robust.", "when_to_avoid": ["your codebase already uses php 8 nullable types and nullsafe operators", "you want a full functional programming toolkit rather than just the option type"], "when_to_choose": ["you want to eliminate fatal 'call to method on null' errors", "you are designing php apis that may or may not return a value", "you prefer explicit handling of absent values over null checks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-option", "repo": "schmittjoh/php-option", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "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:07:09.013583+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.013583+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:18:19.359553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8367d2bf6b017bb60f338cb0e84015acaab3d579e0497de57f13c3a10361cdb", "fetched_at": "2026-08-28T04:07:09.013583+00:00", "kind": "readme", "missing": false, "url": "https://github.com/schmittjoh/php-option"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 75}, "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": 5049, "days_push": 10, "days_rel": 10, "gap_med": 128, "n_releases_24m": 4}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}