{"adoption": {"forks": 164, "observed_at": "2026-08-28T04:10:02.195309+00:00", "stars": 7651}, "canonical_url": "https://ross.abutalabs.com/products/assert", "card": {"archived": false, "artifact_type": "library", "description": "Assertions to validate method input/output with nice error messages.", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["error-handling", "developer-tools"], "health_score": 92, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["webmozarts/assert"], "name": "webmozarts/assert", "platform": ["php"], "pushed_at": "2026-06-15T15:32:30+00:00", "repo": "webmozarts/assert", "stars": 7651, "tags": ["input-validation", "assertions", "defensive-programming", "composer-package"], "topics": [], "urls": [], "use_cases": ["validate method arguments in php", "assert value is a string or integer", "throw exceptions with nice error messages", "defensive programming input checks", "validate constructor parameters", "replace manual type checks with assertions"], "what_it_is": "A PHP library providing efficient assertions for validating method input and output, throwing InvalidArgumentException with clear, consistently formatted error messages on failure. It is a popular Composer package inspired by beberlei/assert with improved error message usability.", "when_to_avoid": ["you need complex rule-based or schema validation", "you want assertions that fail softly instead of throwing exceptions", "you are not working in PHP"], "when_to_choose": ["you need lightweight input validation in PHP with readable error messages", "you want consistent sprintf placeholder ordering in assertion messages", "you prefer a small dependency over a full validation framework"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/assert", "repo": "webmozarts/assert", "role": "main", "score": 90}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/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:10:02.195309+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:02.195309+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:36:45.565628+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "605718999eb7645e6fbfea892ab66b5ca1d72d4a8fb16a362f5050f086404969", "fetched_at": "2026-08-28T04:10:02.195309+00:00", "kind": "readme", "missing": false, "url": "https://github.com/webmozarts/assert"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 89}, "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": 4193, "days_push": 79, "days_rel": 79, "gap_med": 8, "n_releases_24m": 12}, "score": 90, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}