{"adoption": {"forks": 64, "observed_at": "2026-08-28T04:03:30.044354+00:00", "stars": 1079}, "canonical_url": "https://ross.abutalabs.com/products/eloquent-json-relations", "card": {"archived": false, "artifact_type": "library", "description": "Laravel Eloquent relationships with JSON keys", "domain": ["web-development", "databases", "backend"], "enriched": true, "function": ["orm", "database"], "health_score": 91, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["staudenmeir/eloquent-json-relations"], "name": "staudenmeir/eloquent-json-relations", "platform": ["php"], "pushed_at": "2026-07-04T10:00:27+00:00", "repo": "staudenmeir/eloquent-json-relations", "stars": 1079, "tags": ["eloquent", "laravel-package", "-relationships", "foreign-keys", "mysql", "postgresql", "sqlite", "laravel"], "topics": [], "urls": [], "use_cases": ["define eloquent relationships where foreign keys are stored in  columns", "query hasmany relations through a  array of ids in laravel", "build many-to-many relationships using  arrays of objects", "use belongsTo with a foreign key inside a  field", "run -based eloquent relations on mysql, postgres, sqlite, or sql server", "avoid pivot tables by storing related ids in a  column"], "what_it_is": "A Laravel Eloquent extension that adds support for JSON foreign keys in relationships like BelongsTo, HasOne, HasMany, and morph variants. It also enables many-to-many and has-many-through relationships based on JSON arrays across multiple database engines.", "when_to_avoid": ["you don't use Laravel or Eloquent ORM", "your schema uses conventional dedicated foreign key columns", "you need JSON relations on databases outside the supported versions"], "when_to_choose": ["you use Laravel Eloquent and store foreign keys or id arrays in JSON columns", "you want relationship support without dedicated pivot tables or columns", "you need cross-database JSON relation support (MySQL, MariaDB, PostgreSQL, SQLite, SQL Server)"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/eloquent-json-relations", "repo": "staudenmeir/eloquent-json-relations", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "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:03:30.044354+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:30.044354+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:53:06.456360+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9b750bb33674ee849741e6f3e1edba53c134e2d50e4c454c51ef8ab325f78ccd", "fetched_at": "2026-08-28T04:03:30.044354+00:00", "kind": "readme", "missing": false, "url": "https://github.com/staudenmeir/eloquent-json-relations"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 72}, "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": 2891, "days_push": 60, "days_rel": 185, "gap_med": 9.5, "n_releases_24m": 7}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}