CommonMark PHP VS HTML Purifier

Compare CommonMark PHP vs HTML Purifier and see what are their differences.

CommonMark PHP

Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs. (by thephpleague)

HTML Purifier

Standards compliant HTML filter written in PHP (by ezyang)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
CommonMark PHP HTML Purifier
6 13
2,650 2,973
1.2% -
6.9 5.6
about 10 hours ago 6 days ago
PHP PHP
BSD 3-clause "New" or "Revised" License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

CommonMark PHP

Posts with mentions or reviews of CommonMark PHP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-12.

HTML Purifier

Posts with mentions or reviews of HTML Purifier. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-13.

What are some alternatives?

When comparing CommonMark PHP and HTML Purifier you can also consider the following projects:

Parsedown - Better Markdown Parser in PHP

AntiXSS - ㊙️ AntiXSS | Protection against Cross-site scripting (XSS) via PHP

A HTML DOM parser written in PHP - 📜 Modern Simple HTML DOM Parser for PHP

Symfony - The Symfony PHP framework

PHP Markdown - Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.

ZAP - The ZAP core project

Shortcode - Advanced shortcode (BBCode) parser and engine for PHP

Halite - High-level cryptography interface powered by libsodium

HTML5 PHP - An HTML5 parser and serializer for PHP.

Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.

Decoda - A lightweight lexical string parser for BBCode styled markup.

SensioLabs Security Check - A database of PHP security advisories