Built something? We create video reels & spotlights for GitHub projects.Promote your project โ†’
Home / Compare / PHP-Parser vs DOMPurify
Side-by-Side Comparison

PHP-Parser vs DOMPurify

Compare open source repositories side by side. Stars, forks, code health, licensing, and community growth.

๐Ÿ”
๐Ÿ”
Popular matchups:

Recorded Stars Comparison

โ— nikic/PHP-Parser (17.5K) โ— cure53/DOMPurify (17.5K)
PHP-Parser (50%) DOMPurify (50%)
โ˜† 17.5KPHP-Parser stars
โ˜† 17.5KDOMPurify stars
+60Difference
DOMPurifyStar Leader (1.0x)

โš–๏ธ Comparison Verdict

Star Popularity DOMPurify Leads +60 stars (1.0x ratio)
Forks & Derivatives PHP-Parser Leads 1.1K total community forks
Recent Maintenance DOMPurify Pushed 8d ago
Licensing Different PHP-Parser: BSD-3-Clause vs DOMPurify: Apache-2.0

Side-by-Side Facts

Metric nikic/PHP-Parser โ†— cure53/DOMPurify โ†—
DescriptionA PHP parser written in PHPDOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
GitHub Starsโ˜† 17,464โ˜† 17,524
Forks1,142906
Open Issues741
Main LanguagePHPJavaScript
LicenseBSD-3-ClauseApache-2.0
Last PushOct 27, 2026Nov 13, 2026
GitHub SourceOpen Source โ†—Open Source โ†—

โญ Embed Verified Badges in README

Add verified GitHubRepo badges to either project's README.md to showcase star momentum.

PHP-Parser Badge PHP-Parser badge
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/nikic/PHP-Parser.svg?metric=featured)](https://githubrepo.cloud/repo/nikic/PHP-Parser?utm_source=readme_badge)
DOMPurify Badge DOMPurify badge
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/cure53/DOMPurify.svg?metric=featured)](https://githubrepo.cloud/repo/cure53/DOMPurify?utm_source=readme_badge)

Related Head-to-Head Comparisons

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner