league/commonmark is a Markdown parser for PHP which supports the full CommonMark spec. It is directly based on the CommonMark JS reference implementation by John MacFarlane (@jgm).
We will always focus on CommonMark compliance over speed, but performance improvements will definitely happen during efforts to reach v1.0.0 and afterwards.
This library allows you to add custom directives, renders, and more. Check out the Customization section for more information.
Integrations & Community Extensions
An updated list of pre-built integrations and extensions can be found in the Related Packages section of the
This library was created by Colin O’Dell. Find him on Twitter at @colinodell.