{"adoption": {"forks": 359, "observed_at": "2026-08-28T04:07:57.799684+00:00", "stars": 3349}, "canonical_url": "https://ross.abutalabs.com/products/htmlpurifier", "card": {"archived": false, "artifact_type": "library", "description": "Standards compliant HTML filter written in PHP", "domain": ["security", "web-development", "backend"], "enriched": true, "function": ["security", "parser", "templating"], "health_score": 93, "homepage": "http://htmlpurifier.org", "language": "PHP", "license": "LGPL-2.1", "license_family": "copyleft", "maturity": "maintenance", "member_repos": ["ezyang/htmlpurifier"], "name": "ezyang/htmlpurifier", "platform": ["php"], "pushed_at": "2026-08-12T04:45:48+00:00", "repo": "ezyang/htmlpurifier", "stars": 3349, "tags": ["html-filtering", "xss-protection", "html-sanitization", "whitelist", "web-server"], "topics": [], "urls": [], "use_cases": ["sanitize user-submitted html to prevent xss", "filter rich text from wysiwyg editors like tinymce", "clean untrusted html while preserving css and formatting", "make user html standards compliant", "allow a restricted whitelist of html tags in comments"], "what_it_is": "HTML Purifier is a PHP library that filters HTML input using whitelists and aggressive parsing to remove XSS attacks while producing standards-compliant HTML. It is designed for sanitizing richly formatted documents from untrusted sources.", "when_to_avoid": ["you only need to strip all html and escape plain text", "performance is critical and a bare-bones sanitizer suffices", "your project is not written in php"], "when_to_choose": ["you need to accept richly formatted html from untrusted users", "standards-compliant output matters as much as security", "you need fine-grained whitelist configuration for tags and css"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/htmlpurifier", "repo": "ezyang/htmlpurifier", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "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:07:57.799684+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:57.799684+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:40:59.025929+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b27302f5e4c6c3efe53f52e0a543531c68407e77c0959b093181bae57a3137d4", "fetched_at": "2026-08-28T04:07:57.799684+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ezyang/htmlpurifier"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 20}, "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": 6644, "days_push": 21, "days_rel": 320, "gap_med": 350, "n_releases_24m": 2}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}