Parsedown
Better Markdown Parser in PHP (by erusev)
CommonMark PHP
Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs. (by thephpleague)
Our great sponsors
Parsedown | CommonMark PHP | |
---|---|---|
7 | 6 | |
14,614 | 2,641 | |
- | 1.7% | |
4.6 | 6.9 | |
14 days ago | 1 day ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
- What is your tech stack for blog websites? (not wordpress)
- PHP in 2023
-
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
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.
-
Working with Markdown in PHP
To render Markdown files, we'll use the league/commonmark package. You can read the full documentation for the package here.
- livewire markdown editor suggestions
-
How markdown emails work in Laravel using `league/commonmark` package
From the About section of league/commonmark package:
-
Can build in Markdown library limit the use of certain tags?
It gets quite granular: https://github.com/thephpleague/commonmark/blob/latest/src/Extension/CommonMark/CommonMarkCoreExtension.php
What are some alternatives?
When comparing Parsedown and CommonMark PHP you can also consider the following projects:
PHP Markdown - Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
HTML to Markdown - Convert HTML to Markdown with PHP
Emoji - A simple PHP library for handling Emoji
Cebe Markdown - A super fast, highly extensible markdown parser for PHP
A HTML DOM parser written in PHP - 📜 Modern Simple HTML DOM Parser for PHP
Ciconia - A New Markdown parser for PHP5.4
HTML5 PHP - An HTML5 parser and serializer for PHP.
Shortcode - Advanced shortcode (BBCode) parser and engine for PHP