{"id":13404871,"url":"https://github.com/ezyang/htmlpurifier","last_synced_at":"2025-05-12T05:32:39.128Z","repository":{"id":408999,"uuid":"28039","full_name":"ezyang/htmlpurifier","owner":"ezyang","description":"Standards compliant HTML filter written in PHP","archived":false,"fork":false,"pushed_at":"2025-03-19T17:25:28.000Z","size":9111,"stargazers_count":3161,"open_issues_count":115,"forks_count":340,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-05-12T02:45:24.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://htmlpurifier.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ezyang.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2008-06-24T03:22:14.000Z","updated_at":"2025-05-09T19:35:35.000Z","dependencies_parsed_at":"2024-09-17T00:27:47.766Z","dependency_job_id":"e6dfbe29-8590-4ee1-9135-c994f396748f","html_url":"https://github.com/ezyang/htmlpurifier","commit_stats":{"total_commits":1695,"total_committers":94,"mean_commits":18.03191489361702,"dds":"0.23362831858407085","last_synced_commit":"f0fbf510981b27fc03168efdb17d6bff48f521af"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezyang%2Fhtmlpurifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezyang%2Fhtmlpurifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezyang%2Fhtmlpurifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezyang%2Fhtmlpurifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezyang","download_url":"https://codeload.github.com/ezyang/htmlpurifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672731,"owners_count":21945482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:01:52.541Z","updated_at":"2025-05-12T05:32:39.106Z","avatar_url":"https://github.com/ezyang.png","language":"PHP","readme":"HTML Purifier [![Build Status](https://github.com/ezyang/htmlpurifier/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ezyang/htmlpurifier/actions/workflows/ci.yml)\n=============\n\nHTML Purifier is an HTML filtering solution that uses a unique combination\nof robust whitelists and aggressive parsing to ensure that not only are\nXSS attacks thwarted, but the resulting HTML is standards compliant.\n\nHTML Purifier is oriented towards richly formatted documents from\nuntrusted sources that require CSS and a full tag-set.  This library can\nbe configured to accept a more restrictive set of tags, but it won't be\nas efficient as more bare-bones parsers. It will, however, do the job\nright, which may be more important.\n\nPlaces to go:\n\n* See INSTALL for a quick installation guide\n* See docs/ for developer-oriented documentation, code examples and\n  an in-depth installation guide.\n* See WYSIWYG for information on editors like TinyMCE and FCKeditor\n\nHTML Purifier can be found on the web at: [http://htmlpurifier.org/](http://htmlpurifier.org/)\n\n## Installation\n\nPackage available on [Composer](https://packagist.org/packages/ezyang/htmlpurifier).\n\nIf you're using Composer to manage dependencies, you can use\n\n    $ composer require ezyang/htmlpurifier\n","funding_links":[],"categories":["PHP","安全","Table of Contents","安全 Security","Security","目录","\u003ca id=\"1d9dec1320a5d774dc8e0e7604edfcd3\"\u003e\u003c/a\u003e工具-新添加的","安全( Security )"],"sub_categories":["Security","安全 Security","\u003ca id=\"8f1b9c5c2737493524809684b934d49a\"\u003e\u003c/a\u003e文章\u0026\u0026视频","Filtering, Sanitizing and Validation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezyang%2Fhtmlpurifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezyang%2Fhtmlpurifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezyang%2Fhtmlpurifier/lists"}