{"adoption": {"forks": 29, "observed_at": "2026-08-28T04:05:46.226281+00:00", "stars": 1865}, "canonical_url": "https://ross.abutalabs.com/products/doctrine-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", "web-development"], "enriched": true, "function": ["formatter", "parser"], "health_score": 89, "homepage": null, "language": "HTML", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["doctrine/sql-formatter"], "name": "doctrine/sql-formatter", "platform": ["php", "cli"], "pushed_at": "2026-06-11T14:32:46+00:00", "repo": "doctrine/sql-formatter", "stars": 1865, "tags": ["sql", "syntax-highlighting", "pretty-printing", "debugging"], "topics": [], "urls": [], "use_cases": ["format sql queries for debugging", "pretty print sql statements", "add syntax highlighting to sql output", "compress sql queries by removing comments and whitespace", "format sql for error logs"], "what_it_is": "A lightweight PHP library for formatting SQL statements with automatic indentation, line breaks, and syntax highlighting. It is a maintained fork of jdorn/sql-formatter under the Doctrine organization.", "when_to_avoid": ["you need to parse or analyze SQL semantically rather than format it", "you need SQL linting or validation", "you work outside PHP"], "when_to_choose": ["you need to pretty-print or highlight SQL in a PHP application", "you want a small dependency-free formatter for debugging auto-generated queries", "you need SQL output suitable for logs or the command line"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/doctrine-sql-formatter", "repo": "doctrine/sql-formatter", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/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:05:46.226281+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.226281+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:15:33.728144+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2dfc06cb3041f1a7c17cb18cc13fbf1303430406a13f455854645d320e4d4c18", "fetched_at": "2026-08-28T04:05:46.226281+00:00", "kind": "readme", "missing": false, "url": "https://github.com/doctrine/sql-formatter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 45}, "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": 2355, "days_push": 83, "days_rel": 206, "gap_med": 99.5, "n_releases_24m": 5}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}