{"adoption": {"forks": 187, "observed_at": "2026-08-28T04:06:51.162140+00:00", "stars": 2432}, "canonical_url": "https://ross.abutalabs.com/products/beberlei-assert", "card": {"archived": false, "artifact_type": "library", "description": "Thin assertion library for use in libraries and business-model", "domain": ["developer-tools", "web-development", "backend"], "enriched": true, "function": ["testing", "error-handling"], "health_score": 91, "homepage": null, "language": "PHP", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["beberlei/assert"], "name": "beberlei/assert", "platform": ["php"], "pushed_at": "2026-06-10T19:57:39+00:00", "repo": "beberlei/assert", "stars": 2432, "tags": ["assertions", "input-validation", "guard-clauses", "preconditions", "php-library"], "topics": [], "urls": [], "use_cases": ["validate function arguments in php", "assert preconditions in business model", "throw exception on invalid input instead of if checks", "guard methods for library input validation", "check file exists and value is digit in php", "lightweight alternative to symfony validator"], "what_it_is": "A thin PHP assertion library providing assertions and guard methods for input validation in business models, libraries, and low-level application code. Failed assertions throw exceptions, eliminating the need for verbose if-clause validation code.", "when_to_avoid": ["you need filtering or sanitization, not just validation", "you need localized validation messages or complex validation rules", "you are not working in PHP"], "when_to_choose": ["you need fast, low-level, dependency-free input assertions in PHP", "you want exception-based validation without instantiating validator objects", "you are writing business-model or library code needing pre/post-condition checks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/beberlei-assert", "repo": "beberlei/assert", "role": "main", "score": 78}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "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:06:51.162140+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:51.162140+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:31:16.507774+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0bd44a16072d67057ae1fadd0890e4aaaff6aa736a11dba19701b2a031c80b32", "fetched_at": "2026-08-28T04:06:51.162140+00:00", "kind": "readme", "missing": false, "url": "https://github.com/beberlei/assert"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 86, "longevity": 100, "rhythm": 55}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5218, "days_push": 84, "days_rel": 84, "gap_med": 588, "n_releases_24m": 2}, "score": 78, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}