Parsedown
Better Markdown Parser in PHP (by erusev)
PHP Markdown
Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber. (by michelf)
Our great sponsors
Parsedown | PHP Markdown | |
---|---|---|
7 | 1 | |
14,639 | 3,400 | |
- | - | |
4.6 | 1.6 | |
13 days ago | 4 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
Parsedown
Posts with mentions or reviews of Parsedown.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
- Parsedown: Better Markdown Parser in PHP
- What is your tech stack for blog websites? (not wordpress)
- PHP in 2023
-
Let's create a Markdown editor just like dev.to
So for parsing the data we will use parsedown It is written in PHP which is actually 6x faster than normal parsers... So I think this is best for parsing our data
-
Markdown library that supports disabling many features?
Yeah, I ended up finding https://github.com/erusev/parsedown/issues/229 during my research. It's an acceptable option, but I was hoping I missed something even better. Thank you!
-
What does Laravel use for its documentation?
Looks like they use Parsedown
-
How markdown emails work in Laravel using `league/commonmark` package
The first package used to parse markdown was erusev/parsedown
PHP Markdown
Posts with mentions or reviews of PHP Markdown.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-28.
-
PHP beginner: what's the best way to sanitize text when fetched from the database? Using both strip_taps and htmlspecialchars? I want to sanitize the text but make sure some tags are not turned into HTML entities like <a> and <li>
All joking aside, please sanitize on input, not output. As far as the second part of your question goes, there is no built in partial strip_tags function. The safest thing to do would be to continue using strip_tags on insert in conjunction with something like markdown to convert to the allowed HTML entities.
What are some alternatives?
When comparing Parsedown and PHP Markdown you can also consider the following projects:
CommonMark PHP - Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs.
HTML to Markdown - Convert HTML to Markdown with PHP
A HTML DOM parser written in PHP - 📜 Modern Simple HTML DOM Parser for PHP
Emoji - A simple PHP library for handling Emoji
Cebe Markdown - A super fast, highly extensible markdown parser for PHP
HTML Purifier - Standards compliant HTML filter written in PHP
HTML5 PHP - An HTML5 parser and serializer for PHP.
Decoda - A lightweight lexical string parser for BBCode styled markup.
Parsedown vs CommonMark PHP
PHP Markdown vs HTML to Markdown
Parsedown vs HTML to Markdown
PHP Markdown vs A HTML DOM parser written in PHP
Parsedown vs Emoji
PHP Markdown vs Emoji
Parsedown vs Cebe Markdown
PHP Markdown vs CommonMark PHP
Parsedown vs A HTML DOM parser written in PHP
PHP Markdown vs HTML Purifier
Parsedown vs HTML5 PHP
PHP Markdown vs Decoda