{"adoption": {"forks": 184, "observed_at": "2026-08-28T04:08:24.157101+00:00", "stars": 3846}, "canonical_url": "https://ross.abutalabs.com/products/sql-formatter", "card": {"archived": false, "artifact_type": "library", "description": "A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.", "domain": ["databases", "developer-tools"], "enriched": true, "function": ["formatter", "developer-tools"], "health_score": 20, "homepage": "http://jdorn.github.com/sql-formatter/", "language": "HTML", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["jdorn/sql-formatter"], "name": "jdorn/sql-formatter", "platform": ["php"], "pushed_at": "2023-05-26T00:23:48+00:00", "repo": "jdorn/sql-formatter", "stars": 3846, "tags": ["sql", "syntax-highlighting", "pretty-printing"], "topics": [], "urls": [], "use_cases": ["format sql queries for debugging", "pretty print sql statements in php", "add syntax highlighting to sql output", "compress sql queries for the command line", "remove comments from sql strings", "log readable sql queries"], "what_it_is": "A lightweight PHP class that formats SQL statements with automatic indentation, line breaks, and HTML syntax highlighting. It also provides methods to compress queries and strip comments.", "when_to_avoid": ["you need SQL parsing, validation, or execution rather than formatting", "you are not working in PHP", "you need an actively developed formatter with support for many SQL dialects"], "when_to_choose": ["you need a small, dependency-free PHP library to format or highlight SQL", "you want to display auto-generated SQL in HTML for debugging", "you need to minify or strip comments from SQL queries"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sql-formatter", "repo": "jdorn/sql-formatter", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "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:08:24.157101+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:24.157101+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:26:00.872041+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9265e62d378533190976336fc382175fea61db16b00ed317a0492f55e2e1d7d9", "fetched_at": "2026-08-28T04:08:24.157101+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jdorn/sql-formatter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 5238, "days_push": 1196, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}