{"adoption": {"forks": 97, "observed_at": "2026-08-28T04:04:11.892385+00:00", "stars": 1270}, "canonical_url": "https://ross.abutalabs.com/products/belongs-to-through", "card": {"archived": false, "artifact_type": "library", "description": "Laravel Eloquent BelongsToThrough relationships", "domain": ["web-development", "backend", "databases"], "enriched": true, "function": ["orm", "database"], "health_score": 79, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["staudenmeir/belongs-to-through"], "name": "staudenmeir/belongs-to-through", "platform": ["php"], "pushed_at": "2026-02-28T16:27:05+00:00", "repo": "staudenmeir/belongs-to-through", "stars": 1270, "tags": ["eloquent", "laravel-package", "belongs-to-through", "relationships", "composer", "laravel"], "topics": [], "urls": [], "use_cases": ["define belongs-to-through relationships in Laravel Eloquent", "get an ancestor model through intermediate relations in Laravel", "inverse of hasManyThrough in Eloquent", "query a grandparent relation from a deeply nested model", "traverse multiple intermediate models in a Laravel relationship"], "what_it_is": "A Laravel Eloquent package that adds BelongsToThrough relationships, the inverse of HasManyThrough, with support for unlimited intermediate models. It is installed via Composer and supports Laravel 5.0 through 13.x.", "when_to_avoid": ["you don't use Laravel or Eloquent", "a simple belongsTo or hasManyThrough relationship suffices"], "when_to_choose": ["you need the inverse of HasManyThrough in Laravel Eloquent", "your model belongs to a distant ancestor through several intermediate models", "you need custom foreign/local keys, table aliases, or soft-delete support in through relationships"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/belongs-to-through", "repo": "staudenmeir/belongs-to-through", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "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:04:11.892385+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.892385+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:03:28.124162+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "883947de0bd57edfb359daeaea0896115638ac312536d9753d6c248ba21d70b9", "fetched_at": "2026-08-28T04:04:11.892385+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/belongs-to-through"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 60}, "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": 4109, "days_push": 186, "days_rel": 186, "gap_med": 58, "n_releases_24m": 6}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}