{"adoption": {"forks": 105, "observed_at": "2026-08-28T04:05:00.374720+00:00", "stars": 1539}, "canonical_url": "https://ross.abutalabs.com/products/parental", "card": {"archived": false, "artifact_type": "library", "description": "Use single table inheritance in your Laravel app", "domain": ["web-development", "backend", "databases"], "enriched": true, "function": ["orm"], "health_score": 87, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["tighten/parental"], "name": "tighten/parental", "platform": ["php"], "pushed_at": "2026-05-25T00:37:24+00:00", "repo": "tighten/parental", "stars": 1539, "tags": ["laravel", "eloquent", "single-table-inheritance", "sti", "polymorphism"], "topics": [], "urls": [], "use_cases": ["use single table inheritance in laravel eloquent models", "extend a model without creating a new database table", "return child model instances when querying a parent model", "store multiple model types in one table with a type column", "avoid laravel guessing wrong table and foreign key names for subclassed models", "map type column values to class names with aliases"], "what_it_is": "Parental is a Laravel package that adds single table inheritance (STI) to Eloquent models. It lets child models extend a parent model while sharing the same database table, with automatic type-column-based model resolution.", "when_to_avoid": ["you use a framework other than laravel", "you prefer separate tables per model type or entity inheritance", "your models need different schemas per subclass"], "when_to_choose": ["you use laravel eloquent and want STI behavior", "several model variants share one table but need distinct behavior", "you want child models returned automatically from parent queries"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/parental", "repo": "tighten/parental", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "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:05:00.374720+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:00.374720+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:30:55.416280+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e23cec009b0638a27fdbd4362c15b32c1c67dcedf43d48b940e3cc50c93a1e47", "fetched_at": "2026-08-28T04:05:00.374720+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tighten/parental"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 84, "longevity": 100, "rhythm": 61}, "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": 3319, "days_push": 101, "days_rel": 183, "gap_med": 50.5, "n_releases_24m": 5}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}